-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
respect the error prop #95
Copy link
Copy link
Closed
Labels
internalBehind-the-scenes enhancement. Formerly called “core”.Behind-the-scenes enhancement. Formerly called “core”.
Metadata
Metadata
Assignees
Labels
internalBehind-the-scenes enhancement. Formerly called “core”.Behind-the-scenes enhancement. Formerly called “core”.
Fields
Give feedbackNo fields configured for issues without a type.
I'd like to create a component that uses
Inputs.When I add the
errorprop, the error is not displayed however.I know I can trigger an error with
setError("error text")but this does not seem to embrace thedeclarative style of React.
Would it be possible to respect the error prop? So that when I add it, the error gets shown in the render phase?