TextInput
class TextInput extends TextInput implements IValidationInput , IAutocompleteInput
Class TextInput
Traits
Trait StandardValidationTrait.
Properties
string | $placeholder | HTML placeholder | |
bool | $autocomplete |
Methods
Html
showValidation(
Html
$control)
Modify control in such a way that it explicitly shows its validation state.
__construct($label = NULL, $maxLength = NULL)
No description
bool|null
getAutocomplete($bool)
Gets the state of autocomplete: true=on,false=off,null=omit attribute
setAutocomplete(bool|null $bool)
Turns autocomplete on or off.
getControl()
No description
string
getPlaceholder()
No description
setPlaceholder(string $placeholder)
No description
Details
in
StandardValidationTrait
at line 28
Html
showValidation(
Html
$control)
Modify control in such a way that it explicitly shows its validation state.
Returns the modified element.
at line 40
__construct($label = NULL, $maxLength = NULL)
at line 55
bool|null
getAutocomplete($bool)
Gets the state of autocomplete: true=on,false=off,null=omit attribute
at line 65
IAutocompleteInput
setAutocomplete(bool|null $bool)
Turns autocomplete on or off.