ValidityState Interface
ValidityState
interface represents the validity states that an element can be in, with respect to constraint validation.
Fields
Code final bool customError #
final bool customError;
Code final bool tooLong #
The value exceeds the specified maxlength for HTMLInputElement or HTMLTextAreaElement objects.
true
in Gecko, because elements' values are prevented from being longer than maxlength.final bool tooLong;
This page includes content from the
Mozilla Foundation that is graciously
licensed under a
Creative Commons: Attribution-Sharealike license.
Mozilla has no other association with Dart or dartlang.org. We
encourage you to improve the web by
contributing to
The Mozilla Developer Network.