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

Unable to suppress warnings and errors #1119

Open shadyphp opened 1 year ago

shadyphp commented 1 year ago

warning The silent config option does not hide warnings or errors as stated in the documentation.

Optionally suppress console errors and warnings.

Warning occurs when I try to add custom options to the config: { silent: true, loadingText: 'Kraunama...', noResultsText: 'Rezultatų nerasta', noChoicesText: 'Nerasta pasirinkimų', itemSelectText: 'Pasirinkti', searchPlaceholderValue: "Ieškoti", saveItem: 'Išsaugoti pasirinktima:', removeItem: 'Pašalinti', chooseItem: 'Rinktis' }

This works fine, but it does produce a warning in the console. Is there a way to hide the warning or just get rid of it?