Inputmask alway focus in edge

Posted by: tinhnd on 8 April 2018, 10:26 pm EST

  • Posted 8 April 2018, 10:26 pm EST

    Hi team,

    I’m using the InputMask control as below:

    html:





    ts:

    const wjOptions = {

    value: ‘123’,

    mask: ‘0-0-0’,

    };

    const wjInput = new InputMask(‘#inputmask’, wjOptions);

    (I also attach the source)

    Problem:

    Running on chrome not problem.

    However, on Edge, the inputmask cotrols are always focused.

    Is this a wijmo bug?

    If not, please help me resolve.

    Many thanks.

    test-input-mask2.zip

  • Posted 9 April 2018, 3:20 am EST

    Hi,

    We are able to replicate the issue at our end and we have it to the concerned team for further investigation. The TrackingID for this case is 316855

    Till you can use blur() method as workaround.

    Please refer to following code snippet:-

    const wjOptions = {
    value: '123',
    mask: '0-0-0',
    };
    const wjInput = new InputMask('#inputmask', wjOptions);
    wjInput.inputElement.blur();
    
    
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels