max_length property

max_length property

Maximum number of characters for text fields, when type has the value “text” or “password”. See the maxlength attribute definition in HTML 4.01.

Definition:

@property
def max_length(self):
    ...
@max_length.setter
def max_length(self, value):
    ...

See Also