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/field/FieldLongTextSubForm.vue
Davide Silvestri fa0834f95b 📚4️⃣ Rich text: expanded input mode
2024-03-05 13:55:20 +00:00

36 lines
739 B
Vue

<template>
<div>
<div v-if="!primary" class="control">
<div class="control__elements">
<Checkbox v-model="values.long_text_enable_rich_text">{{
$t('fieldLongTextSubForm.enableRichTextFormatting')
}}</Checkbox>
</div>
</div>
</div>
</template>
<script>
import form from '@baserow/modules/core/mixins/form'
import fieldSubForm from '@baserow/modules/database/mixins/fieldSubForm'
export default {
name: 'FieldTextSubForm',
mixins: [form, fieldSubForm],
data() {
return {
allowedValues: ['long_text_enable_rich_text'],
values: {
long_text_enable_rich_text: false,
},
}
},
methods: {
isFormValid() {
return true
},
},
}
</script>