-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
Proposal - DraftNew feature proposalNew feature proposal
Description
Describe the feature
The default value for maxItemsDisplayed
in RplFormDropdown
is 6, which for lists with a large number of options can mean a lot of scrolling. It might be convenient to add a feature flag to set the default number of items, or support setting 'maxItemsDisplayed' via "Advanced -> Element attributes -> YAML" in the Webform build UI for a field.
Motivation
Improve UX
Proposal
Add either or both of:
- a feature flag to set default maxItemsDisplayed for RplFormDropdown
- mapping of
maxItemsDisplayed
or some other property name in element attributes in ripple-tide-webform's mapping for the 'select' case
Benefits
For dropdowns with more than 5 options, alleviating the need to scroll, and making it clear to the user the additional options.
Drawbacks
Developers/form editors might set an unusably large value - this could be capped to a sane maximum.
Adoption strategy
Docs/story
Additional information
- Would you be willing to help implement this feature?
- Could this feature be created outside of Ripple-framework as a layer?
Final checks
- I have read the contribution guide for information on submitting a feature request.
- I have checked the discussions and issues for duplicate feature requests.
Metadata
Metadata
Assignees
Labels
Proposal - DraftNew feature proposalNew feature proposal