mirror of
https://github.com/Choices-js/Choices.git
synced 2026-03-14 14:45:47 +01:00
Document clearStore and clearChoices on if they reset the search state
This commit is contained in:
parent
79b795f561
commit
b10b35827b
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue