1
0
mirror of https://gitlab.com/bramw/baserow.git synced 2024-11-24 16:36:46 +00:00
bramw_baserow/web-frontend/modules/database/components/row/RowEditFieldLongText.vue
2024-07-05 09:35:08 +00:00

29 lines
675 B
Vue

<template>
<FormGroup :error="touched && !valid">
<FormTextarea
ref="input"
v-model="copy"
:error="touched && !valid"
:disabled="readOnly"
:rows="5"
@focus="select()"
@blur="unselect()"
/>
<template #error>
{{ error }}
</template>
</FormGroup>
</template>
<script>
import FormTextarea from '@baserow/modules/core/components/FormTextarea.vue'
import rowEditField from '@baserow/modules/database/mixins/rowEditField'
import rowEditFieldInput from '@baserow/modules/database/mixins/rowEditFieldInput'
export default {
components: { FormTextarea },
mixins: [rowEditField, rowEditFieldInput],
}
</script>