carbon-components-svelte/types/MultiSelect
metonym 2148e1c7b6
feat(multi-select): add itemToProp to customize name, title, labelText values passed to input (#1074)
Currently, the input `name` for each item uses the same value as `itemToString(item)`.

This adds an `itemToInput` prop to allow the consumer to customize the name/title/labelText values passed to the `Checkbox` input.

The name attribute now defaults to use the `item.id` instead of `item.text`.
2022-02-10 08:32:24 -08:00
..
MultiSelect.svelte.d.ts feat(multi-select): add itemToProp to customize name, title, labelText values passed to input (#1074) 2022-02-10 08:32:24 -08:00