FACE + invalidState + delegatesFocus throws "An invalid form control with name='{name}' is not focusable." on form submit
clshortfuse opened this issue · comments
With delegatesFocus=true
for FACE with an invalid state won't focus on form submission. Chrome/Edge and Safari (Webkit) will emit:
An invalid form control with name='{name}' is not focusable.
Firefox won't even attempt to focus. It feels like a bug since the delegatesFocus
proposal says it should be considered focusable and I'll file it accordingly.
Somebody can correct me if i'm wrong here.
Nevermind! Missed the anchor
argument of setValidity(). 🤦