-
Notifications
You must be signed in to change notification settings - Fork 395
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
Handling Disabled & Readonly Fields #217
Comments
This is intentional Read my post here: http://stackoverflow.com/a/16576294/244393 |
I read the SO post and the link about read only fields but I still don't get why this can't be done using a flag on the field. I am looking at the code here: Lines 79 to 80 in 3d5af96
|
👍 with @cancan101 comment: why not adding a:
that would make sure |
Currently, if you create a field with
{{ form.myfield(readonly=true) }}
or{{ form.myfield(disabled=true) }}
you still need to do this to prevent the disabled/readonly fields from getting saved:Would it cause any problems if WTForms deleted disabled/readonly fields from the form by default (to improve security)?
The text was updated successfully, but these errors were encountered: