Skip to content

Latest commit

 

History

History
27 lines (14 loc) · 444 Bytes

text.md

File metadata and controls

27 lines (14 loc) · 444 Bytes

Form field: Text

Class: Code16\Sharp\Form\Fields\SharpFormTextField

Configuration

setInputTypeText()

Used to set the type to regular text (the default).

setInputTypePassword()

Used to set the type to password.

setMaxLength(int $maxLength)

Set a max character count.

setMaxLengthUnlimited()

Unset the max character count.

Formatter

  • toFront: expect a string.
  • fromFront: returns a string.