InputTextarea
Not so plain and not so simple input textarea.
Has the same API than InputText.
html
<Card>
<Form>
<div class="row">
<div class="col-12 mb-xs-4">
<InputTextarea
name="comments"
label="CV summary"
placeholder="Write here the summary of your employment history"
:autoResize="false"
:validations="['not-empty']"
/>
</div>
</div>
</Form>
</Card>Props
autoResize(defaulttrue): if auto-resize input when writing.
html
<Card>
<Form>
<div class="row">
<div class="col-12 mb-xs-4">
<InputTextarea
name="comments"
label="CV summary"
placeholder="Write here the summary of your employment history"
:validations="['not-empty']"
/>
</div>
</div>
</Form>
</Card>allowResize(defaultfalse): if allow to manually resize the input (vertically only). Needs:autoResize="false"to work.
html
<Card>
<Form>
<div class="row">
<div class="col-12 mb-xs-4">
<InputTextarea
name="comments"
label="CV summary"
placeholder="Write here the summary of your employment history"
allowResize
:autoResize="false"
:validations="['not-empty']"
/>
</div>
</div>
</Form>
</Card>rows(default2): rows by default.
html
<Card>
<Form>
<div class="row">
<div class="col-12 mb-xs-4">
<InputTextarea
name="comments"
label="CV summary"
placeholder="Write here the summary of your employment history"
:rows="4"
:validations="['not-empty']"
/>
</div>
</div>
</Form>
</Card>Emits
@input. Native event emit.
@inputField. Custom event emit.
@change. Native change emit.
@changeField. Custom change emit.
Vuersatile Components