add readonly for AccountBox (#2779)

Signed-off-by: Ruslan Bayandinov <wazsone@ya.ru>
This commit is contained in:
Ruslan Bayandinov 2023-03-21 09:07:49 +06:00 committed by GitHub
parent c62099243f
commit c0f5d563f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,6 +26,7 @@
export let docQuery: DocumentQuery<Account> = {}
export let kind: ButtonKind = 'no-border'
export let size: ButtonSize = 'small'
export let readonly = false
const query = createQuery()
@ -60,6 +61,7 @@
{kind}
{size}
{label}
{readonly}
value={selectedEmp}
on:change={change}
/>