Reputation: 934
in the blazor input binding doesn't work when i use jquery input mask or any plugins like date picker or select 2
im using this library for input mask https://robinherbots.github.io/Inputmask/
Upvotes: 5
Views: 3033
Reputation: 8531
In order to use JavaScript libraries with Blazor you must use JavaScript Interop. Blazor needs to be in control of the DOM in order to work correctly. Attempting to use JavaScript without Blazors knowledge will cause lots of issues.
I would suggest reading up about JavaScript Interop on the official docs.
Upvotes: 4