From 309a6f9b4426d1407f0c9b70bb6cbddb8f960e85 Mon Sep 17 00:00:00 2001 From: dlohvinov Date: Tue, 31 Dec 2024 22:05:10 +0200 Subject: [PATCH] tests: fixed tests, related to wt-select useValueFromOptionsByProp [WTEL-5622] --- src/components/wt-select/mixins/multiselectMixin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/wt-select/mixins/multiselectMixin.js b/src/components/wt-select/mixins/multiselectMixin.js index 29373bf5..941ffc69 100644 --- a/src/components/wt-select/mixins/multiselectMixin.js +++ b/src/components/wt-select/mixins/multiselectMixin.js @@ -178,7 +178,7 @@ export default { handler() { if (this.trackBy === null) return; // then, options are primitives - for (const opt of options) { + for (const opt of this.options) { this.cachedOptionsMap[opt[this.useValueFromOptionsByProp || this.trackBy]] = opt; } },