<wxs module="utils" src="../wxs/utils.wxs"/>
<wxs module="computed" src="./index.wxs"/>
<textarea
        id="{{ name }}"
        adjust-position="{{ adjustPosition }}"
        auto-focus="{{ autoFocus }}"
        auto-height="{{ !!autosize }}"
        bindblur="onBlur"
        bindconfirm="onConfirm"
        bindfocus="onFocus"
        bindinput="onInput"
        bindkeyboardheightchange="onKeyboardHeightChange"
        bindlinechange="onLineChange"
        bindtap="onClickInput"
        class="{{ utils.bem('field__control', [inputAlign, type, { disabled, error }]) }} input-class"
        cursor="{{ cursor }}"
        cursor-spacing="{{ cursorSpacing }}"
        disable-default-padding="{{ disableDefaultPadding }}"
        disabled="{{ disabled || readonly }}"
        fixed="{{ fixed }}"
        focus="{{ focus }}"
        hold-keyboard="{{ holdKeyboard }}"
        maxlength="{{ maxlength }}"
        placeholder="{{ placeholder }}"
        placeholder-class="{{ utils.bem('field__placeholder', { error, disabled }) }}"
        placeholder-style="{{ placeholderStyle }}"
        selection-end="{{ selectionEnd }}"
        selection-start="{{ selectionStart }}"
        show-confirm-bar="{{ showConfirmBar }}"
        style="{{ computed.inputStyle(autosize) }}"
        value="{{ innerValue }}"
/>
