mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-09 11:17:43 +02:00
Fix fill defaults (#2832)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
export let onChange: (value: string) => void
|
||||
export let kind: ButtonKind = 'link'
|
||||
export let size: ButtonSize = 'large'
|
||||
export let allowDeselect: boolean = false
|
||||
|
||||
let items: DropdownTextItem[] = []
|
||||
|
||||
@@ -54,6 +55,7 @@
|
||||
{size}
|
||||
{kind}
|
||||
width={'100%'}
|
||||
{allowDeselect}
|
||||
autoSelect={false}
|
||||
on:selected={(e) => {
|
||||
onChange(e.detail)
|
||||
|
||||
Reference in New Issue
Block a user