Textarea input
<k-textarea-input>
This UI component hasn't been finalized yet. The functionality and syntax aren't stable and might be redone in an upcoming release. Only use it at your own risk - breaking changes are likely to occur.
Props
Prop | Type | Default | Description |
---|---|---|---|
autofocus |
boolean |
– |
|
buttons |
boolean |array |
true |
|
disabled |
boolean |
– |
|
endpoints |
object |
– |
|
font |
string |
– |
|
id |
number |string |
function() { return this._uid; } |
|
maxlength |
number |
– |
|
minlength |
number |
– |
|
name |
number |string |
– |
|
placeholder |
string |
– |
|
preselect |
boolean |
– |
|
required |
boolean |
– |
|
size |
string small, medium, large, huge |
– |
Pre-selects the size before auto-sizing kicks in. This can be useful to fill gaps in field layouts.
|
spellcheck |
boolean |string |
"off" |
|
theme |
string |
– |
|
uploads |
boolean |object |array |
– |
|
value |
string |
– |
|
Events
Event | Description | Passes |
---|---|---|
focus |
|
– |
input |
|
– |
invalid |
|
|
submit |
|
– |
Toolbar
No toolbar
Only selected buttons
Available buttons:
headlines
bold
italic
link
email
code
ol
ul
CSS classes
.k-textarea-input