Visual Builder

Get Involved. Join the Conversation.


    Christopher Maggiulli
    Using the pattern attribute on oj-input-text element
    Topic posted September 2, 2018 by Christopher MaggiulliSilver Crown: 22,500+ Points, tagged JET, UI, Web 
    Using the pattern attribute on oj-input-text element
    Is there any support for the pattern attribute for text inputs

    HTML5 introduced the attribute pattern for text (and other) input types.  It takes a regular expression then validates the form accordingly (similar to required attribute).  I see it mentioned but it doesn't seem to work with an <oj-input-text> tag.  Instead I had to create a custom validator.  


    I have two questions.

    1. Is this attribute going to be supported in the future

    2. What is the harm in me changing the <oj-input-text> tag with a normal Oracle Jet tag so I can take advantage of this attribute?