-
Notifications
You must be signed in to change notification settings - Fork 28
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
Unexpected read_only behavior #42
Comments
BTW overriding |
You are correct on why your code works as it does.
Lets now change the order of two lines:
As you can see, the field is read only after
I know |
It looks that
read_only
doesn't work correctly with WTForms initialization, e.g.:Is it normal that the field which is supposed to be read-only accepts form data?
I think the problem is in the fact that the field is being modified after form base class constructor where form data gets read
The text was updated successfully, but these errors were encountered: