MatBlazor: MatSelectItem throws an error and the same error appears in the demo in fiddle but does not appear in the main demo page !!!

Hi. I am using MatSelectItem in my project and it throws an error:

Uncaught (in promise) Error: System.FormatException: Input string was not in a correct format.
  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) <0x1b0b8f0 + 0x000ce> in <f9608672e47645719a06b8553bcb8b5a>:0

So I checked the examples on the demo page and opening the example in Fiddle threw me the same error: https://blazorfiddle.com/temp/1a3e8675-0e34-4f65-b628-fa4fb567bd74

image

But I detected that the error does not appear on the Demo site !!! !!!

image

So I exclude some syntax problem or misuse of the component.

Any ideas what may be happening? Maybe some library version problem?

Thanks in advance.

About this issue

  • Original URL
  • State: open
  • Created 4 years ago
  • Reactions: 1
  • Comments: 21 (1 by maintainers)

Most upvoted comments

Thanks for using MatBlazor, I’ll take a look at it tomorrow.

@lindespang What exactly do you mean by re-rendering the component?