Open shadyphp opened 1 year ago
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' }
{ 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?
The silent config option does not hide warnings or errors as stated in the documentation.
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?