mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-03 03:26:45 +00:00
Nc feat/Readonly source followup (#8795)
* feat: allow partial column update (GUI) * feat: allow partial column update (backend) * refactor: swagger schema description correction * feat: allow edit from multi field editor * fix: allow meta update in api level * fix: add tooltip and docs link * fix: multi field editor corrections * fix: allow table meta update * fix: allow table meta update * fix: allow column validation update * fix: block adding new option directly from cell * fix: add tooltip for column menu options * refactor: tooltips * test: replace index with count as parameter * fix: corrections * refactor: hint text update
This commit is contained in:
@@ -49,7 +49,7 @@ const searchVal = ref()
|
||||
|
||||
const { getMeta } = useMetas()
|
||||
|
||||
const { isUIAllowed } = useRoles()
|
||||
const { isUIAllowed, isMetaReadOnly } = useRoles()
|
||||
|
||||
const { isPg, isMysql } = useBase()
|
||||
|
||||
@@ -59,7 +59,9 @@ const tempSelectedOptState = ref<string>()
|
||||
|
||||
const isFocusing = ref(false)
|
||||
|
||||
const isNewOptionCreateEnabled = computed(() => !isPublic.value && !disableOptionCreation && isUIAllowed('fieldEdit'))
|
||||
const isNewOptionCreateEnabled = computed(
|
||||
() => !isPublic.value && !disableOptionCreation && isUIAllowed('fieldEdit') && !isMetaReadOnly.value,
|
||||
)
|
||||
|
||||
const options = computed<(SelectOptionType & { value: string })[]>(() => {
|
||||
if (column?.value.colOptions) {
|
||||
|
||||
Reference in New Issue
Block a user