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

IntegerField only passes value limits to NumberWidget #59

Closed
kevzettler opened this issue Feb 19, 2015 · 1 comment
Closed

IntegerField only passes value limits to NumberWidget #59

kevzettler opened this issue Feb 19, 2015 · 1 comment

Comments

@kevzettler
Copy link

https://github.com/insin/newforms/blob/react/src/fields/IntegerField.js#L58

What if i'm using a custom widget with IntegerField and want access minValue and MaxValue?

@insin
Copy link
Owner

insin commented Feb 19, 2015

Currently, you'd have to extend IntegerField.

Looks like we need some API for a widget to signal which Field configuration it needs access to, or otherwise access details of the Field it's rendering.

@insin insin mentioned this issue Mar 6, 2015
Closed
16 tasks
@insin insin closed this as completed in 48ec912 Mar 6, 2015
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