The invalid property doesn't seem to be updating properly. Somehow the validate() function returns false and yet invalid remains false as well. The underlying input container has the correct value for invalid, because the invalid styling (red underline) gets applied. Seems like it's just not getting propagated correctly.
The
invalid
property doesn't seem to be updating properly. Somehow thevalidate()
function returns false and yetinvalid
remains false as well. The underlying input container has the correct value forinvalid
, because the invalid styling (red underline) gets applied. Seems like it's just not getting propagated correctly.Here's a demo: https://jsbin.com/rolano/edit?html,console,output