Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vinicvaz opened this issue Jul 3, 2024 · 0 comments
Open

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

vinicvaz opened this issue Jul 3, 2024 · 0 comments
Labels
enhancement New feature or request frontend Frontend related issues

Comments

@vinicvaz
Copy link
Collaborator

vinicvaz commented Jul 3, 2024

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

@vinicvaz vinicvaz added enhancement New feature or request frontend Frontend related issues labels Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request frontend Frontend related issues
Projects
None yet
Development

No branches or pull requests

1 participant