Skip to content

read_only doesn't work as expected for BooleanField, DateTimeField, or SelectField #43

@alexlewinprosper

Description

@alexlewinprosper

In my form base class, I call read_only in the init function as in the example in the docs:

https://wtforms-components.readthedocs.io/en/latest/#read-only-fields

It achieves the desired effect for StringField and TextAreaField, but not for the others.

Please let me know whether or not you can address this...if not, I might try to address it and submit a pull request.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions