-
Notifications
You must be signed in to change notification settings - Fork 1
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
Introduce error message prop #65
Comments
@leeejune I am not finding the error state for this element in the blueprints? https://www.figma.com/file/nyXRAgG4YzZaGdIVmPwARP/Select?node-id=322%3A298 Is this defined? |
Not sure yet to define this as a bug or a new feature. |
Since it uses input, I didn't display the other states; I assumed that it would inherit all of input's states... should I display all of the states? |
Closing issue in favor of new feature work |
Is your feature request related to a problem? Please describe.
auro-select
supports an error state with a red border, but does not support displaying an error message. In my application I need to show an error associated with a select, e.g. "Please select an option"Describe the solution you'd like
Introduce a prop so that an error message can be displayed.
Describe alternatives you've considered
Handle showing the error message in my application code, e.g.
Though this solution is not properly associated with the select using
aria-describedby
. An solution inside the component would make that easier.Additional context
Prior art in
auro-input
:The text was updated successfully, but these errors were encountered: