From b10b35827bcda6e93a45e9d052e5041465bed2d4 Mon Sep 17 00:00:00 2001 From: Xon <635541+Xon@users.noreply.github.com> Date: Thu, 5 Sep 2024 03:21:07 +0800 Subject: [PATCH] Document clearStore and clearChoices on if they reset the search state --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3ce83e6d..4481f7e6 100644 --- a/README.md +++ b/README.md @@ -1172,7 +1172,7 @@ example.setChoices( **Input types affected:** `select-one`, `select-multiple` -**Usage:** Clear all choices from select +**Usage:** Clear all choices from select. Does **not** reset the search state. ### getValue(valueOnly?: boolean): string[] | EventChoice[] | EventChoice | string; @@ -1234,7 +1234,7 @@ example.setChoiceByValue('Two'); // Choice with value of 'Two' has now been sele **Input types affected:** `text`, `select-one`, `select-multiple` -**Usage:** Removes all items, choices and groups. Use with caution. +**Usage:** Removes all items, choices and groups. Resets the search state. Use with caution. ### clearInput();