@@ -28,19 +28,8 @@
<input
v-if="type !== 'textarea'"
class="el-input__inner"
- :type="type"
- :name="name"
- :placeholder="placeholder"
- :disabled="disabled"
- :readonly="readonly"
- :maxlength="maxlength"
- :minlength="minlength"
+ v-bind="$props"
:autocomplete="autoComplete"
- :autofocus="autofocus"
- :min="min"
- :max="max"
- :step="step"
- :form="form"
:value="currentValue"
ref="input"
@input="handleInput"
@@ -59,16 +48,8 @@
ref="textarea"
:style="textareaStyle"
- :rows="rows"
@focus="handleFocus"
@blur="handleBlur">
</textarea>