Initializer
FormElement(String? name = null, Boolean? autoFocus = null, Boolean? disabled = null, String? form = null, Boolean? formNoValidate = null, Boolean? readOnly = null, Boolean? required = null, String? valueOf = null, String? id = null, CssClass classNames = [], String? style = null, String? accessKey = null, String? contextMenu = null, TextDirection? dir = null, Boolean? draggable = null, DropZone? dropZone = null, Boolean? inert = null, Boolean? hidden = null, String? lang = null, Boolean? spellcheck = null, Integer? tabIndex = null, String? title = null, Boolean? translate = null, Aria? aria = null, NonstandardAttributes nonstandardAttributes = ..., DataContainer data = ...)
Parameters:
  • name = null

    Gives the name of the form control, as used in form submission.

  • autoFocus = null

    Indicate that a control is to be focused as soon as the page is loaded

  • disabled = null

    Specifies that this input should be disabled.

  • form = null

    Specifies one or more forms (id) that this input belongs to.

  • formNoValidate = null

    Defines that form elements should not be validated when submitted.

  • readOnly = null

    Specifies that this field is read-only.

  • required = null

    Specifies that this field must be filled out before submitting the form.

  • valueOf = null

    Specifies the value of this input.

  • id = null
  • classNames = []
  • style = null
  • accessKey = null
  • contextMenu = null
  • dir = null
  • draggable = null
  • dropZone = null
  • inert = null
  • hidden = null
  • lang = null
  • spellcheck = null
  • tabIndex = null
  • title = null
  • translate = null
  • aria = null
  • nonstandardAttributes = empty
  • data = empty
Attributes
attributesSource Codeshared actual default <String->Object>[] attributes
Refines BaseElement.attributes ultimately refines Node.attributes
autoFocusSource Codeshared Boolean? autoFocus

Indicate that a control is to be focused as soon as the page is loaded

disabledSource Codeshared Boolean? disabled

Specifies that this input should be disabled.

formSource Codeshared String? form

Specifies one or more forms (id) that this input belongs to.

formNoValidateSource Codeshared Boolean? formNoValidate

Defines that form elements should not be validated when submitted.

nameSource Codeshared String? name

Gives the name of the form control, as used in form submission.

readOnlySource Codeshared Boolean? readOnly

Specifies that this field is read-only.

requiredSource Codeshared Boolean? required

Specifies that this field must be filled out before submitting the form.

valueOfSource Codeshared String? valueOf

Specifies the value of this input.

Inherited Attributes
Attributes inherited from: BaseElement
Attributes inherited from: Element
Attributes inherited from: Object
Attributes inherited from: StyledElement
Attributes inherited from: Node
Inherited Methods
Methods inherited from: Object