TextArea field
This is a standard HTML textarea
input field.
Special properties of field
Property | Default | Accepted values | Description |
---|---|---|---|
autocomplete |
none | see doc | Indicates whether the value of the control can be automatically completed by the browser. |
max |
none | Number |
maxlength value (need to use validators.number ) |
min |
none | Number |
minlength value (need to use validators.number ) |
placeholder |
none | String |
Placeholder text for input field |
readonly |
false |
Boolean |
If true, the input field is read only |
rows |
2 | Number |
Number of rows. |
Usage
{
type: "textArea",
label: "Biography",
model: "bio",
hint: "Max 500 characters",
max: 500,
placeholder: "User's biography",
rows: 4,
validator: validators.string
}