Skip to content

Allow non-boolean field flags #406

@davidism

Description

@davidism

I want to support more HTML validation attributes, but currently the flags only set their value to True. For things like maxlength, we need to set the actual value.

My idea is to allow field_flags to be a function which returns a dict, deprecating and eventually removing the old tuple behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature, or existing feature improvement

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions