Open AubreyHewes opened 5 years ago
Using redux form touching the field the field is set as an empty value.. as such is fulfilling required.
To force a proper validation the generator should also mutate the schema to enforce a minLength of 1
maxLength should also be honored
@Reggino it already is https://github.com/AubreyHewes/redux-form-byschema/blob/5c01fd45fa7def305b2630819eb6d17c945028f3/src/SchemaForm/renderer.js#L480 ;-)
Using redux form touching the field the field is set as an empty value.. as such is fulfilling required.
To force a proper validation the generator should also mutate the schema to enforce a minLength of 1