You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by AndreEckner April 24, 2024
There is a boolean|undefined parameter called silent in lots of the selecitze methods,
that handles whether the method should trigger a corresponding change-event.
This parameter exists as per now also in the two methods
clearOptions() and refreshItems().
Discussed in #69428
Originally posted by AndreEckner April 24, 2024
There is a boolean|undefined parameter called silent in lots of the selecitze methods,
that handles whether the method should trigger a corresponding change-event.
This parameter exists as per now also in the two methods
clearOptions() and refreshItems().
Only for one of these cases is the parameter documented in the official API-Doc:
https://selectize.dev/docs/API/selectize#clearoptionssilent
For the missing documentation of refreshItems(silent) there currently exists an issue which nobody seems to care about:
selectize/selectize.js#2009
But both cases can be seen in the current code at Github by searching for the method names:
https://github.com/selectize/selectize.js/blob/master/dist/js/selectize.js
So the Typescript-definitions should be changed accordingly to:
clearOptions(silent?: boolean): void;
refreshItems(silent?: boolean): void;
The text was updated successfully, but these errors were encountered: