mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
test(multi-select): add more unit tests
This commit is contained in:
parent
bfe86be11b
commit
0ea3d9351e
2 changed files with 112 additions and 0 deletions
|
@ -25,6 +25,7 @@
|
|||
) => item.text;
|
||||
export let itemToInput: ComponentProps<MultiSelect>["itemToInput"] =
|
||||
undefined;
|
||||
export let helperText: ComponentProps<MultiSelect>["helperText"] = "";
|
||||
</script>
|
||||
|
||||
<MultiSelect
|
||||
|
@ -46,6 +47,7 @@
|
|||
{translateWithIdSelection}
|
||||
{itemToString}
|
||||
{itemToInput}
|
||||
{helperText}
|
||||
on:select={(e) => {
|
||||
console.log("select", e.detail);
|
||||
}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue