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

Add min/max to number fields #270

Closed
chrisvxd opened this issue Dec 4, 2023 · 2 comments
Closed

Add min/max to number fields #270

chrisvxd opened this issue Dec 4, 2023 · 2 comments

Comments

@chrisvxd
Copy link
Member

chrisvxd commented Dec 4, 2023

The number field type should support min and max props, passed directly to the input.

Example

const example = {
  "type": "number",
  "min": 0,
  "max": 10
}
@chrisvxd
Copy link
Member Author

Available in 0.14.0-canary.4932a6e. Thanks @jperasmus!

@chrisvxd chrisvxd removed the ready Assumed ready enough to start label Dec 21, 2023
@jperasmus
Copy link
Contributor

Pleasure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants