Merge branch 'master' of github.com:Budibase/budibase

This commit is contained in:
mike12345567 2021-03-15 20:43:41 +00:00
commit f40a54b366
1 changed files with 5 additions and 1 deletions

View File

@ -53,7 +53,11 @@
$: uneditable =
$backendUiStore.selectedTable?._id === TableNames.USERS &&
UNEDITABLE_USER_FIELDS.includes(field.name)
$: invalid = field.type === LINK_TYPE && !field.tableId
$: invalid =
(field.type === LINK_TYPE && !field.tableId) ||
Object.keys($backendUiStore.draftTable.schema).some(
key => key === field.name
)
// used to select what different options can be displayed for column type
$: canBeSearched =