Files
DiceCloud/app/imports/ui/components/global/TextArea.vue
2019-07-22 12:43:57 +02:00

28 lines
457 B
Vue

<template lang="html">
<v-textarea
v-bind="$attrs"
:loading="loading"
:error-messages="errors"
:value="safeValue"
:auto-grow="autoGrow"
@input="input"
@focus="focused = true"
@blur="focused = false"
box
/>
</template>
<script>
import SmartInput from '/imports/ui/components/global/SmartInputMixin.js';
export default {
mixins: [SmartInput],
props: {
autoGrow: {
type: Boolean,
default: true,
},
},
};
</script>