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.
I want to support more HTML validation attributes, but currently the flags only set their value to
True. For things likemaxlength, we need to set the actual value.My idea is to allow
field_flagsto be a function which returns a dict, deprecating and eventually removing the old tuple behavior.