mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-05-17 14:22:02 +00:00
Disallow creating options in public forms since the operation would fail anyways
This commit is contained in:
parent
2e2d620253
commit
a56d97ba44
5 changed files with 43 additions and 2 deletions
web-frontend/modules/database/components/row
|
@ -31,7 +31,7 @@
|
|||
<FieldSelectOptionsDropdown
|
||||
ref="dropdown"
|
||||
:options="availableSelectOptions"
|
||||
:allow-create-option="true"
|
||||
:allow-create-options="allowCreateOptions"
|
||||
:disabled="readOnly"
|
||||
:show-input="false"
|
||||
:show-empty-value="false"
|
||||
|
@ -54,5 +54,12 @@ import multipleSelectField from '@baserow/modules/database/mixins/multipleSelect
|
|||
export default {
|
||||
name: 'RowEditFieldMultipleSelect',
|
||||
mixins: [rowEditField, selectOptions, multipleSelectField],
|
||||
props: {
|
||||
allowCreateOptions: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
required: false,
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue