Interface FormElementAttributes
- All Known Implementing Classes:
InputDateFormElement
,InputDateTimeLocalFormElement
,InputEmailFormElement
,InputNumberFormElement
,InputPasswordFormElement
,InputTelFormElement
,InputTextFormElement
,InputTimeFormElement
,InputUrlFormElement
,SelectFormElement
,TextareaFormElement
,TrixEditorFormElement
public interface FormElementAttributes
HTML Form Element Attributes.
- Since:
- 4.1.0
- Author:
- Sergio del Amo
-
Method Summary
-
Method Details
-
name
- Returns:
- Name of the form control. Submitted with the form as part of a name/value pair
-
label
- Returns:
- represents a caption for an item in a user interface
-
errors
- Returns:
- Form element validation Errors.
-
hasErrors
default boolean hasErrors()- Returns:
- Whether the form element has validation errors
-