mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
fix: ComboBox
, MultiSelect
should have multiple translateWithId
functions (#1283)
* fix(combo-box): ListBoxField and ListBoxSelection have different `translateWithId` props * fix(multi-select): ListBoxField and ListBoxSelection have different `translateWithId` props * Run "yarn build docs" * test: assert translateWithIdMenu, translateWIthIdInput props
This commit is contained in:
parent
877173df59
commit
ff2e6276db
8 changed files with 176 additions and 66 deletions
12
types/MultiSelect/MultiSelect.svelte.d.ts
vendored
12
types/MultiSelect/MultiSelect.svelte.d.ts
vendored
|
@ -128,6 +128,18 @@ export interface MultiSelectProps
|
|||
*/
|
||||
translateWithId?: (id: any) => string;
|
||||
|
||||
/**
|
||||
* Override the default translation ids for the menu
|
||||
* @default undefined
|
||||
*/
|
||||
translateWithIdMenu?: (id: any) => string;
|
||||
|
||||
/**
|
||||
* Override the default translation ids for the input
|
||||
* @default undefined
|
||||
*/
|
||||
translateWithIdInput?: (id: any) => string;
|
||||
|
||||
/**
|
||||
* Specify the title text
|
||||
* @default ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue