Open samuelcolvin opened 8 months ago
Currently we don't apply many common constraints from pydantic/json schema to forms:
Shouldn't be too hard to add these to the form field pydantic models, populate them in json_schema.py and add them to the input in the frontend.
json_schema.py
As far as I understand, these can all be validated - but currently only on the server side? I assume the benefit of also validating this client side is speed but I'm not sure if I'm missing any others.
Yes
Currently we don't apply many common constraints from pydantic/json schema to forms:
Shouldn't be too hard to add these to the form field pydantic models, populate them in
json_schema.py
and add them to the input in the frontend.