Hovering over form controls shows constraint validation message even when inside <form novalidate>
#1037
Labels
bug
Things that aren't working right in the library.
Please have a look at following demo:
https://jsfiddle.net/jtc49bao/
While the form has the attribute "novalidate" the
sl-input
element still shows a "Please fill out this field" tooltip (the HTML input form doesn't show a tooltip, which is the correct behavior):Not really sure and maybe a silly idea, but just in case you do not have a better one:
A
form
element directly surrounding theinput
control in the shadow DOM plus a MutationObserver for thenovalidate
attribute of the light DOM form plus synchronizing thenovalidate
attribute from the light DOMform
to the shadow DOMform
might work.Hopefully, you know a better and easier solution 😉
The text was updated successfully, but these errors were encountered: