Skip to content

Text & Textarea

Text Input Settings (text, url, tel, phone, etc.)

Section titled “Text Input Settings (text, url, tel, phone, etc.)”

The following can be used on text fields to limit the number of characters.

{
"maxlength" : 100,
"minlength" : 10,
"pattern" : "/ab+c/",
"readonly" : true,
"disabled" : true,
"class" : "custom-class"
}
{
"rows" : 10
}

Default all text will be scanned for HTML and sanitized to help prevent from XSS attacks. You can disable this by setting the following.

{
"htmlclean" : false
}