1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-03-14 20:52:51 +00:00
bramw_baserow/web-frontend/modules/database/components/row/RowEditFieldLongText.vue

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
675 B
Vue
Raw Permalink Normal View History

2020-05-23 13:52:15 +00:00
<template>
<FormGroup :error="touched && !valid">
<FormTextarea
2020-05-23 13:52:15 +00:00
ref="input"
v-model="copy"
:error="touched && !valid"
2021-04-08 14:30:26 +00:00
:disabled="readOnly"
:rows="5"
2020-05-23 13:52:15 +00:00
@focus="select()"
@blur="unselect()"
/>
<template #error>
2021-07-11 18:02:37 +00:00
{{ error }}
</template>
</FormGroup>
2020-05-23 13:52:15 +00:00
</template>
<script>
import FormTextarea from '@baserow/modules/core/components/FormTextarea.vue'
2020-05-23 13:52:15 +00:00
import rowEditField from '@baserow/modules/database/mixins/rowEditField'
import rowEditFieldInput from '@baserow/modules/database/mixins/rowEditFieldInput'
export default {
components: { FormTextarea },
2020-05-23 13:52:15 +00:00
mixins: [rowEditField, rowEditFieldInput],
}
</script>