From f8f897bcb7f6a3906019b3aba83c6597ee20acff Mon Sep 17 00:00:00 2001 From: freakzlike Date: Thu, 20 Oct 2022 19:27:10 +0200 Subject: [PATCH] feat(setValue): allow array for multiselect .setValue() method --- docs/api/index.md | 18 ++++++++++++- src/domWrapper.ts | 20 +++++++++------ tests/components/ComponentWithInput.vue | 7 +++++ tests/setValue.spec.ts | 34 +++++++++++++++++++++++++ 4 files changed, 70 insertions(+), 9 deletions(-) diff --git a/docs/api/index.md b/docs/api/index.md index a5826c6e2..2b8043a42 100644 --- a/docs/api/index.md +++ b/docs/api/index.md @@ -1633,6 +1633,12 @@ setValue(value: unknown, prop?: string): Promise
The input has been checked!
+ +