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
Some errors might require the developer to give the user some context on what went wrong. And this will most likely happen by showing an error message. But the Form.Field component lacks this functionality.
Proposed solution
To extend the error prop to not only accepts bools, but also strings to be shown as error messages. There is currently no css to support this feature.
MVP
Something as simple as this
The text was updated successfully, but these errors were encountered:
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you've completed all the fields in the issue template so we can best help.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
* feat(Ref): add support for error messages in <Form.Field/> (#3405)
* feat(Ref): add support for error messages in <Form.Field/> (#3602)
* fix(reff) update error proptype to show to to reflect in docs
* use Label component
* remove only
* update descriptions and types
* fix typings issues
Feature Request
Problem description
Some errors might require the developer to give the user some context on what went wrong. And this will most likely happen by showing an error message. But the Form.Field component lacks this functionality.
Proposed solution
To extend the error prop to not only accepts bools, but also strings to be shown as error messages. There is currently no css to support this feature.
MVP
Something as simple as this
The text was updated successfully, but these errors were encountered: