mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
fix(multi-select): render checkboxes for form data (#1835)
* chore: downgrade docs to svelte 3 for compatibility * chore(multi-select): keep checkboxes rendered in DOM * Display ListBox via CSS See #1742
This commit is contained in:
parent
33214e02d1
commit
7ba52df3a1
7 changed files with 87 additions and 195 deletions
3
types/MultiSelect/MultiSelect.svelte.d.ts
vendored
3
types/MultiSelect/MultiSelect.svelte.d.ts
vendored
|
@ -27,13 +27,14 @@ export interface MultiSelectProps extends RestProps {
|
|||
itemToString?: (item: MultiSelectItem) => any;
|
||||
|
||||
/**
|
||||
* Override the item name, title, labelText passed to the checkbox input
|
||||
* Override the item name, title, labelText, or value passed to the user-selectable checkbox input as well as the hidden inputs.
|
||||
* @default (item) => {}
|
||||
*/
|
||||
itemToInput?: (item: MultiSelectItem) => {
|
||||
name?: string;
|
||||
labelText?: any;
|
||||
title?: string;
|
||||
value?: string;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue