# textarea

Start from base library version 1.0.0. Please remaining backward compatible.

Multiline input box. This component is Native component, please note the limitations.

attribute type Default value Required Introductions Minimum version
value string no Enter the contents of the box 1.0.0
placeholder string no Placeholder when input box is empty 1.0.0
placeholder-style string no Designation placeholder Currently supports only color, font-size, and font-weight 1.0.0
placeholder-class string textarea-placeholder no Designation placeholder Style class 1.0.0
disabled boolean false no Is it disabled? 1.0.0
maxlength number 140 no Maximum input length, set to -1 Does not limit the maximum length 1.0.0
auto-focus boolean false no Autofocus, pull up the keyboard. 1.0.0
focus boolean false no Getting focus 1.0.0
auto-height boolean false no Whether to automatically raise, setting auto-height when style.height does not take effect 1.0.0
fixed boolean false no if textarea It was in a place position:fixed The specified property needs to be displayed fixed for true 1.0.0
cursor-spacing number 0 no Specifies the distance between the cursor and the keyboard. taketextareaThe distance from the bottom andcursor-spacingThe minimum distance specified as the distance between the cursor and the keyboard 1.0.0
cursor number -1 no Specifies the cursor position when focusing 1.5.0
show-confirm-bar boolean true no Display the bar above the keyboard with the "Finish" on 1.6.0
selection-start number -1 no Cursor starting position, valid for automatic aggregation, with theselection-endCollocation use 1.9.0
selection-end number -1 no Cursor end position, valid for automatic aggregation, with theselection-startCollocation use