Tauffer-Consulting / domino

User friendly and open source platform for workflow creation and monitoring
https://domino-workflows.io/
Apache License 2.0
144 stars 14 forks source link

[Frontend] - Allow max / min values for number forms. #306

Open vinicvaz opened 4 months ago

vinicvaz commented 4 months ago

In pydantic we can define range of values for numeric fields. You can define this either using custom types like PositiveInteger or using Field api. Both approaches generate json schemas with maximum and minimum keys. We should validate numeric values in the forms based on the json schema definition