errors not updated in fields #325
Closed
jamalsoueidan
started this conversation in
General
Replies: 1 comment
-
You can still use Check to see what type of input the Select component is using internally. I just ran into a similar problem and it was because my Select component was using an <Select
{...conform.input(field.productId, { hidden: true }) }
label="Hvilken ydelse vil du tilbyde?"
placeholder="Vælg ydelse"
error={fields.productId.error}
data={selectServices}
onChange={setProductId}
value={productId}
/> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm still trying to go my head around the package, it seems a little bit confusing from other validation package, even though their is few methods to use.
The error for productId is not getting populated.
I need to listen on the change of the select, since i need to use the value, and conform.input doesn't throw any re-render on the react component.
Beta Was this translation helpful? Give feedback.
All reactions