Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Control the level of flexibility for "Searchable list" validation (defined values or flexible input) #5010

Open
anikbrazeau opened this issue Jan 20, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@anikbrazeau
Copy link
Member

Description

At times the validation requirements are less flexible than the app currently allows for searchable list combobox component. This specification would be a nice feature enhancement depending on the use case.

Suggestion to give clients a choice in the "...More" options to be able to input additional free text or to be limited to the closed list / limited structured data / options presented? Some clients will have a list of "pre-defined values". Making the searchable list closer to a dropdown, acting more like autocomplete for known values.

Context

https://gcdigital.slack.com/archives/C03T4FAE9FV/p1737234087002479?thread_ts=1737055823.595799&cid=C03T4FAE9FV

Feedback from client

Just a thought, it may be a helpful feature in the future if the Searchable list has an option available (in the ..more settings) to have a closed list of choices, in which the input box is just a search to choose a pre-defined value. So basically, a dropdown that’s searchable. Or to allow a user to input a custom value as well as the ability to choose from the pre-defined list. This would behave more like an input box with autocomplete, for example an address input box that autocompletes if it has a known value but allows you to add an address that doesn’t exist. Although it may be confusing to end users unless this is communicated through a hint or instructions.

Expected behaviour

  • Option to make list of options limited / strictly defined OR flexible / free to change
@anikbrazeau anikbrazeau added the enhancement New feature or request label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant