We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de4c0f2 commit 3858429Copy full SHA for 3858429
packages/demo/src/examples/example09.ts
@@ -50,12 +50,6 @@ export default class Example {
50
51
updateLocale(locale: LocaleKey) {
52
this.ms1?.destroy();
53
- this.ms1 = multipleSelect('#dynamic-select', {
54
- filter: true,
55
- showOkButton: true,
56
- dataTest: 'select1',
57
- locale,
58
- locales,
59
- }) as MultipleSelectInstance;
+ this.ms1?.refreshOptions({ locale });
60
}
61
0 commit comments