Don't trigger required validation early
This commit is contained in:
parent
ce6de27714
commit
6ee7ae953d
|
@ -137,7 +137,9 @@
|
|||
typeof value === "object" ? value._id : value
|
||||
)
|
||||
// Make sure field state is valid
|
||||
if (values?.length > 0) {
|
||||
fieldApi.setValue(values)
|
||||
}
|
||||
return values
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue