Skip to content

Commit

Permalink
Added documentation that addresses issues when using text-by. (#4015)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bond-Addict authored Nov 14, 2023
1 parent 3d91e4f commit 5630770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docs/page-config/ui-elements/select/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default definePageConfig({
block.example("Decorators", { title: "Decorators" }),
block.example("ObjectOptions", {
title: "Objects as options",
description: "You can use objects as options. Text will be showing from `text-by` property from object. Value can be also returned from select using `value-by` instead of whole object. Comparing object values is done by `track-by` prop or `value-by` if it is not provided.",
description: "You can use objects as options. Text will be showing from `text-by` property from object. Value can be also returned from select using `value-by` instead of whole object. Comparing object values is done by `track-by` prop or `value-by` if it is not provided. <br /> <em>Note: Using `text-by` without a `value-by` or `track-by` may cause inconsistencies in expected behavior.",
}),
block.example("TrackBy", {
title: "Track by",
Expand Down

0 comments on commit 5630770

Please sign in to comment.