mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-12 12:47:45 +02:00
UBER-747: fix readonly field (#3593)
Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
@@ -76,7 +76,7 @@
|
||||
<svelte:component
|
||||
this={editor}
|
||||
readonly={isReadonly}
|
||||
disabled="(isReadonly)"
|
||||
disabled={isReadonly}
|
||||
label={attribute?.label}
|
||||
placeholder={attribute?.label}
|
||||
{kind}
|
||||
@@ -102,7 +102,7 @@
|
||||
{attributeKey}
|
||||
value={getAttribute(client, object, { key: attributeKey, attr: attribute })}
|
||||
readonly={isReadonly}
|
||||
disabled="(isReadonly)"
|
||||
disabled={isReadonly}
|
||||
space={object.space}
|
||||
{onChange}
|
||||
{focus}
|
||||
|
||||
Reference in New Issue
Block a user