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

(OUI Component Refresh) Combo Box- Refine search interactions by providing a prop to allow builders to select clear or return to last valid selection #127

Closed
Tracked by #95
KrooshalUX opened this issue Nov 18, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@KrooshalUX
Copy link
Contributor

KrooshalUX commented Nov 18, 2022

Problem defined here: #95

Proposed solution:
As a user is typing, it is valid to present an error state when no match is found. However, if no selection is made because no value was selected, when the focus is lost from the input box, the value should be cleared or returned to the last valid selection. Provide a prop to builders to set this interaction (clear or returned). This would change the "default" behavior, requiring the builder to prescribe NOT clearing the value after a no-match search.

@BSFishy BSFishy self-assigned this Nov 18, 2022
@BSFishy BSFishy added the enhancement New feature or request label Nov 18, 2022
@KrooshalUX KrooshalUX changed the title Refine search interactions by providing a prop to allow builders to select clear or return to last valid selection (OUI Component Refresh) Refine search interactions by providing a prop to allow builders to select clear or return to last valid selection Nov 27, 2022
@KrooshalUX KrooshalUX changed the title (OUI Component Refresh) Refine search interactions by providing a prop to allow builders to select clear or return to last valid selection (OUI Component Refresh) Combo Box- Refine search interactions by providing a prop to allow builders to select clear or return to last valid selection Dec 5, 2022
@BSFishy BSFishy closed this as completed Mar 10, 2023
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

3 participants