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
Hi,
upgrading to GWT 2.9.0 and GMD 2.4.1 something goes bad with the setLanguage method of MaterialComboBox.
In my project, I've a method that I call for all MaterialComboBox instance (combobox.setLanguage(MaterialUtil.getComboBoxLanguageOptions())) where:
public static LanguageOptions getComboBoxLanguageOptions(){ LanguageOptions languageOptions = new LanguageOptions(); languageOptions.setNoResults(param1 -> "Nessun risultato..."); languageOptions.setErrorLoading(param1 -> "Problema nel caricamento..."); languageOptions.setInputTooLong(param1 -> "Testo troppo lungo..."); languageOptions.setInputTooShort(param1 -> "Testo troppo corto..."); languageOptions.setLoadingMore(param1 -> "Altri risultati..."); languageOptions.setMaximumSelected(param1 -> "Non puoi selezionare altri elementi..."); languageOptions.setSearching(param1 -> "Ricerca in corso..."); return languageOptions; }
Now, with 2.4.1, with this options the combobox doesn't function and on click report this error:
Throwable.java:117 Uncaught Error: java.lang.ClassCastException at CSy_g$.Mc_g$ [as createError_0_g$] (Throwable.java:117) at CSy_g$.Xc_g$ [as initializeBackingError_0_g$] (Throwable.java:109) at CSy_g$.Fc_g$ (Throwable.java:69) at CSy_g$.md_g$ (Exception.java:29) at CSy_g$.fH_g$ (RuntimeException.java:29) at new CSy_g$ (ClassCastException.java:27) at ynA_g$ (InternalPreconditions.java:154) at KnA_g$ (InternalPreconditions.java:138) at JnA_g$ (InternalPreconditions.java:133) at jSc_g$ (Cast.java:81) at Function.HvD_g$ (MaterialUtil.java:514)...
It's a bug or have I to change somethings?
Thanks
-g
The text was updated successfully, but these errors were encountered:
Hi,
upgrading to GWT 2.9.0 and GMD 2.4.1 something goes bad with the setLanguage method of MaterialComboBox.
In my project, I've a method that I call for all MaterialComboBox instance (
combobox.setLanguage(MaterialUtil.getComboBoxLanguageOptions())
) where:public static LanguageOptions getComboBoxLanguageOptions(){ LanguageOptions languageOptions = new LanguageOptions(); languageOptions.setNoResults(param1 -> "Nessun risultato..."); languageOptions.setErrorLoading(param1 -> "Problema nel caricamento..."); languageOptions.setInputTooLong(param1 -> "Testo troppo lungo..."); languageOptions.setInputTooShort(param1 -> "Testo troppo corto..."); languageOptions.setLoadingMore(param1 -> "Altri risultati..."); languageOptions.setMaximumSelected(param1 -> "Non puoi selezionare altri elementi..."); languageOptions.setSearching(param1 -> "Ricerca in corso..."); return languageOptions; }
Now, with 2.4.1, with this options the combobox doesn't function and on click report this error:
Throwable.java:117 Uncaught Error: java.lang.ClassCastException at CSy_g$.Mc_g$ [as createError_0_g$] (Throwable.java:117) at CSy_g$.Xc_g$ [as initializeBackingError_0_g$] (Throwable.java:109) at CSy_g$.Fc_g$ (Throwable.java:69) at CSy_g$.md_g$ (Exception.java:29) at CSy_g$.fH_g$ (RuntimeException.java:29) at new CSy_g$ (ClassCastException.java:27) at ynA_g$ (InternalPreconditions.java:154) at KnA_g$ (InternalPreconditions.java:138) at JnA_g$ (InternalPreconditions.java:133) at jSc_g$ (Cast.java:81) at Function.HvD_g$ (MaterialUtil.java:514)...
It's a bug or have I to change somethings?
Thanks
-g
The text was updated successfully, but these errors were encountered: