<wxs module="utils" src="../wxs/utils.wxs"/>
<input
        id="{{ name }}"
        adjust-position="{{ adjustPosition }}"
        always-embed="{{ alwaysEmbed }}"
        auto-focus="{{ autoFocus }}"
        bindblur="onBlur"
        bindconfirm="onConfirm"
        bindfocus="onFocus"
        bindinput="onInput"
        bindkeyboardheightchange="onKeyboardHeightChange"
        bindnicknamereview="onBindNicknameReview"
        bindtap="onClickInput"
        class="{{ utils.bem('field__control', [inputAlign, { disabled, error }]) }} input-class"
        confirm-hold="{{ confirmHold }}"
        confirm-type="{{ confirmType }}"
        cursor="{{ cursor }}"
        cursor-spacing="{{ cursorSpacing }}"
        disabled="{{ disabled || readonly }}"
        focus="{{ focus }}"
        hold-keyboard="{{ holdKeyboard }}"
        maxlength="{{ maxlength }}"
        password="{{ password || type === 'password' }}"
        placeholder="{{ placeholder }}"
        placeholder-class="{{ utils.bem('field__placeholder', { error }) }}"
        placeholder-style="{{ placeholderStyle }}"
        selection-end="{{ selectionEnd }}"
        selection-start="{{ selectionStart }}"
        type="{{ type }}"
        value="{{ innerValue }}"
/>
