insin / newforms-examples

Examples repository for newforms / React
32 stars 7 forks source link

How do you update a fields initial maxValue? #7

Open guybowden opened 8 years ago

guybowden commented 8 years ago

I have a field setup with a maxValue argument, I want to have that change depending on another form field - how can I do this? setting form.fields.myfield.maxValue doesn't work.. (fair enough) Is there some sort of 'updateField' method somewhere?