mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-14 04:08:19 +00:00
UBER-747: fix readonly field (#3593)
Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
parent
85d1a9521c
commit
cdba698d2a
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user