mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-04-28 22:42:26 +00:00
30 lines
593 B
Vue
30 lines
593 B
Vue
<template>
|
|
<FormGroup>
|
|
<Checkbox v-model="values.boolean_default">
|
|
{{ $t('fieldBooleanSubForm.defaultValue') }}
|
|
</Checkbox>
|
|
</FormGroup>
|
|
</template>
|
|
|
|
<script>
|
|
import form from '@baserow/modules/core/mixins/form'
|
|
import fieldSubForm from '@baserow/modules/database/mixins/fieldSubForm'
|
|
|
|
export default {
|
|
name: 'FieldBooleanSubForm',
|
|
mixins: [form, fieldSubForm],
|
|
data() {
|
|
return {
|
|
allowedValues: ['boolean_default'],
|
|
values: {
|
|
boolean_default: false,
|
|
},
|
|
}
|
|
},
|
|
methods: {
|
|
isFormValid() {
|
|
return true
|
|
},
|
|
},
|
|
}
|
|
</script>
|