SamProf / MatBlazor

Material Design components for Blazor and Razor Components
http://www.matblazor.com
MIT License
2.84k stars 386 forks source link

Is there a way to prevent the input of characters in NumericUpDownField UI #817

Open chrithie opened 3 years ago

chrithie commented 3 years ago

Using Server Side Blazor with MatBlazor Components. When using the NumericUpDownField, in the UI you can type characters in the Field, which will disappear after ChangeFocus or hit the enter-Button.

Is there a way to prevent it from even inputting characters in the field?

Thanks in advance

Christian-Oleson commented 3 years ago

There is, per this SO question: https://stackoverflow.com/questions/469357/html-text-input-allow-only-numeric-input

This would be a feature request to be done. @chrithie , it would be great if you wanted to contribute