mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
feat(combo-box): add hideLabel
prop (#2153)
This commit is contained in:
parent
7754ea3691
commit
436dea47e8
7 changed files with 50 additions and 1 deletions
|
@ -19,6 +19,7 @@
|
|||
export let invalidText = "";
|
||||
export let warnText = "";
|
||||
export let helperText = "";
|
||||
export let hideLabel = false;
|
||||
export let size: "sm" | "xl" | undefined = undefined;
|
||||
export let shouldFilterItem: ComponentProps<ComboBox>["shouldFilterItem"] = (
|
||||
item,
|
||||
|
@ -31,6 +32,7 @@
|
|||
<ComboBox
|
||||
{disabled}
|
||||
{helperText}
|
||||
{hideLabel}
|
||||
{invalid}
|
||||
{invalidText}
|
||||
{items}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue