Input mask compatibility with safari #954
Unanswered
Manikandansece
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a blazor project with imask enabled and it is working as expected in chrome & edge browser but getting null value in safari. Any thoughts.
script:
window.contactJsFunctions = {
inputmask: function () {
var maskOptions = {
mask: '000.000.000',
lazy: false,
};
var element = document.getElementById('mobilePhone');
var mobilePhoneMask = IMask(element, maskOptions);
}
};
html:
<input type="text" id="mobilePhone" @bind-value="mobileno"/>
<button @OnClick="test"> test
code:
protected void test()
{
Beta Was this translation helpful? Give feedback.
All reactions