Choices-js / Choices

A vanilla JS customisable select box/text input plugin ⚡️
https://choices-js.github.io/Choices/
MIT License
6.05k stars 597 forks source link

removeActiveItems method - excludedId should be optional? #1116

Open beyer96 opened 1 year ago

beyer96 commented 1 year ago

Hello,

not sure if this should be considered as bug (if not, sorry!), but I think removeActiveItems should take excludedId parameter as optional.

Correct me if I'm wrong, but I use this method with no parameter and no issues. Now, I have to use it with Typescript which yells at me that this method needs argument. I suppressed it of course, but it would be nice not have to do so :)

Thanks for any response!