1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-05-04 17:00:24 +00:00
bramw_baserow/web-frontend/modules/database/components/row/RowEditFieldSingleSelect.vue
2021-04-08 14:30:26 +00:00

22 lines
619 B
Vue

<template>
<div class="control__elements">
<FieldSingleSelectDropdown
:value="valueId"
:options="field.select_options"
:allow-create-option="true"
:disabled="readOnly"
@input="updateValue($event, value)"
@create-option="createOption($event)"
></FieldSingleSelectDropdown>
</div>
</template>
<script>
import rowEditField from '@baserow/modules/database/mixins/rowEditField'
import singleSelectField from '@baserow/modules/database/mixins/singleSelectField'
export default {
name: 'RowEditFieldSingleSelectVue',
mixins: [rowEditField, singleSelectField],
}
</script>