disables one to many toggle when column is edited

This commit is contained in:
Keviin Åberg Kultalahti 2021-02-09 14:28:57 +01:00
parent 58263ffa80
commit 0b30949447
2 changed files with 1 additions and 7 deletions

View File

@ -152,6 +152,7 @@
bind:value={field.constraints.numericality.lessThanOrEqualTo} />
{:else if field.type === 'link'}
<Toggle
disabled={originalName}
bind:checked={field.oneToMany}
thin
text="One to many?" />

View File

@ -842,17 +842,10 @@
lodash "^4.17.19"
to-fast-properties "^2.0.0"
<<<<<<< HEAD
"@budibase/bbui@^1.58.4":
version "1.58.4"
resolved "https://registry.yarnpkg.com/@budibase/bbui/-/bbui-1.58.4.tgz#a74d66b3dd715b0a9861a0f86bc0b863fd8f1d44"
integrity sha512-1oEVt7zMREM594CAUIXqOtiuP4Sx4FbfgPBHTZ+t4RhFfbFqvU7yyakqPZM2LhTAmO5Rfa+c+dfFLh+y1++KaA==
=======
"@budibase/bbui@^1.58.3":
version "1.58.3"
resolved "https://registry.yarnpkg.com/@budibase/bbui/-/bbui-1.58.3.tgz#86ad6aa68eec7426e1ccdf1f7e7fc957cb57d3a3"
integrity sha512-PpbxfBhVpmP0EO1nPBhrz486EHCIgtJlXELC/ElzjG+FCQZSCvDSM7mq/97FOW35iYdTiQTlwFgOtvOgT1P8IQ==
>>>>>>> 10f6d871354dace180c86aefb389a97f7925b902
dependencies:
markdown-it "^12.0.2"
quill "^1.3.7"