You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Property truncation should be inherited from OnyxBaseSelectOption and be used as a fallback value, meaning if a truncation is not given on option level this value should be used for all options.
Acceptance criteria
Default value og truncation should be 'ellipsis'
Definition of Done
covered by component tests
screenshot tests are updated
follow-up tickets were created if necessary
updated version + documentation is deployed
Storybook can show the feature
Storybook code snippet of new/changed examples are checked that they are generated correctly
…tion on higher level (#1541)
<!-- Is your PR related to an issue? Then please link it via the
"Relates to #" below. Else, remove it. -->
Relates to #1539
Up until now the truncation property was on option-level only for
OnyxSelect, OnyxRadioGroup and OnyxCheckboxGroup. The user had to set
the property for each option separately. In this PR, the truncation
property is added to the grouped component too, so that the user can set
the truncation only once for every option. This property is used only as
a fallback if the truncation is not set on option-level.
## Checklist
- [x] A changeset is added with `npx changeset add` if your changes
should be released as npm package (because they affect the library
usage)
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Follow up on
Why?
Property truncation should be inherited from OnyxBaseSelectOption and be used as a fallback value, meaning if a truncation is not given on option level this value should be used for all options.
Acceptance criteria
Definition of Done
Approval
The text was updated successfully, but these errors were encountered: