mirror of
https://gitlab.com/bramw/baserow.git
synced 2024-11-25 00:46:46 +00:00
30 lines
639 B
Vue
30 lines
639 B
Vue
<template>
|
|
<FormGroup :error="touched && !valid">
|
|
<FormInput
|
|
ref="input"
|
|
v-model="copy"
|
|
size="large"
|
|
type="tel"
|
|
:error="touched && !valid"
|
|
:disabled="readOnly"
|
|
@keyup.enter="$refs.input.blur()"
|
|
@focus="select()"
|
|
@blur="unselect()"
|
|
>
|
|
</FormInput>
|
|
|
|
<template #error>
|
|
{{ error }}
|
|
</template>
|
|
</FormGroup>
|
|
</template>
|
|
|
|
<script>
|
|
import rowEditField from '@baserow/modules/database/mixins/rowEditField'
|
|
import rowEditFieldInput from '@baserow/modules/database/mixins/rowEditFieldInput'
|
|
|
|
export default {
|
|
mixins: [rowEditField, rowEditFieldInput],
|
|
}
|
|
</script>
|