mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-05-04 17:00:24 +00:00
22 lines
619 B
Vue
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>
|