mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-22 00:10:37 +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
|
<svelte:component
|
||||||
this={editor}
|
this={editor}
|
||||||
readonly={isReadonly}
|
readonly={isReadonly}
|
||||||
disabled="(isReadonly)"
|
disabled={isReadonly}
|
||||||
label={attribute?.label}
|
label={attribute?.label}
|
||||||
placeholder={attribute?.label}
|
placeholder={attribute?.label}
|
||||||
{kind}
|
{kind}
|
||||||
@ -102,7 +102,7 @@
|
|||||||
{attributeKey}
|
{attributeKey}
|
||||||
value={getAttribute(client, object, { key: attributeKey, attr: attribute })}
|
value={getAttribute(client, object, { key: attributeKey, attr: attribute })}
|
||||||
readonly={isReadonly}
|
readonly={isReadonly}
|
||||||
disabled="(isReadonly)"
|
disabled={isReadonly}
|
||||||
space={object.space}
|
space={object.space}
|
||||||
{onChange}
|
{onChange}
|
||||||
{focus}
|
{focus}
|
||||||
|
Loading…
Reference in New Issue
Block a user