UBER-747: fix readonly field (#3593)

Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
Vyacheslav Tumanov 2023-08-15 22:17:47 +05:00 committed by GitHub
parent 85d1a9521c
commit cdba698d2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}