You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fairly simple issue... the novalidate attribute when passed to Form.Input will not get forwarded to the underlying input element, making disabling validation impossible.
The text was updated successfully, but these errors were encountered:
Can you please provide an example snippet in HTML or reference MDN? As I see novalidate can be applied only to form tag... As workaround you pass attributes directly to input:
Apologies, you're correct that should have been on the form which works perfectly! The MDN form page does suggest that a formnovalidate attribute can override the form, however. Although React does suggest formNoValidate as a prop, the same issue as above exists as it will not get forwarded to the input element. However this appears to only be applicable to input elements that are functioning as buttons and the intent is to override the entire form behavior, so will close this out as the underlying issue was due to my misunderstanding... thanks!
Fairly simple issue... the
novalidate
attribute when passed toForm.Input
will not get forwarded to the underlying input element, making disabling validation impossible.The text was updated successfully, but these errors were encountered: