maxLengthEnforced property

bool maxLengthEnforced
final

If true, prevents the field from allowing more than maxLength characters.

If maxLength is set, maxLengthEnforced indicates whether or not to enforce the limit, or merely provide a character counter and warning when maxLength is exceeded.

Implementation

final bool maxLengthEnforced