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
In the second select (which is wrapped in a form tag), don't select anything, and click save to submit the form.
It should show the browser "this input is required" tooltip.
Description
I can't really understand why/how this happens. Sometimes, the required prop on a Select component will not prevent the form to be submitted. But sometimes it's working fine.
Additional context
No response
Logs
The text was updated successfully, but these errors were encountered:
Environment
Darwin
v22.1.0
3.16.2
3.24.0
2.11.8
[email protected]
-
modules
,ssr
,components
,app
,css
,runtimeConfig
,compatibilityDate
,nitro
,vite
,eslint
@pinia/[email protected]
,pinia-plugin-persistedstate/[email protected]
,@nuxt/[email protected]
,[email protected]
,@nuxt/[email protected]
-
Is this bug related to Nuxt or Vue?
Nuxt
Version
3.0.2
Reproduction
https://codesandbox.io/p/sandbox/festive-feather-mzq49q
In the second select (which is wrapped in a form tag), don't select anything, and click save to submit the form.
It should show the browser "this input is required" tooltip.
Description
I can't really understand why/how this happens. Sometimes, the
required
prop on a Select component will not prevent the form to be submitted. But sometimes it's working fine.Additional context
No response
Logs
The text was updated successfully, but these errors were encountered: