InputDate mask causes weird behavior

Posted by: richard.mccluskey on 6 November 2018, 9:08 pm EST

  • Posted 6 November 2018, 9:08 pm EST

    I’m using Angular version 6.1.8 and wijmo version 5.20182.523. Although I think this bug affects more versions of wijmo and not just in Angular.

    When the wj-input-date component is used with a mask set, then you are not able to edit the date string in the input in the same way as if there is no mask set. For example, if you delete characters then the numbers in the date might shift over to a different part.

    If you scroll to the bottom of https://demos.wijmo.com/5/Angular/Explorer/Explorer/#/input/mask you can play around with an input date that has a mask applied. Try deleting numbers from different parts. Notice the weird behavior?

    Now try it on https://demos.wijmo.com/5/Angular/Explorer/Explorer/#/input/datetime . This example does not have a mask applied and it works as expected.

    I’d like to be able to use the mask to help users enter dates easily, but this bug might make it confusing if they try to edit the date.

  • Posted 8 November 2018, 2:18 am EST

    Thank you for bringing this behavior to our notice. I have created a case for the Dev Team to looking into this behavior. The internal tracking ID for this case is 352582.

Need extra support?

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

Learn More

Forum Channels