Form control is not focusable

Posted by: tkchung23 on 28 November 2017, 12:20 am EST

    • Post Options:
    • Link

    Posted 28 November 2017, 12:20 am EST

    Hi all,

    I am using for input text, and form control without ‘novalidate’. In my case, when I click submit button, there have error prompted in console: An invalid form control with name is not focusable.

    Can anyone help? thanks.

  • Posted 28 November 2017, 2:07 am EST

    Hi,

    Obviously, adding ‘novalidate’ would fix this.

    Can you share a sample or perhaps some code to reproduce this?

    ~nilay

  • Posted 28 November 2017, 2:40 am EST

    Can I keep the validate in the form?

    The code should be like this:

        
    <wj-input-mask id="testingID"
                ng-required="'required'" />
    
    

    when submit the form with empty field and the expected result should be same as this:

    https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_input_required

Need extra support?

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

Learn More

Forum Channels