ui icon indicating copy to clipboard operation
ui copied to clipboard

Select required sometimes not working

Open mydnic opened this issue 10 months ago • 0 comments

Environment

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


mydnic avatar Apr 14 '25 08:04 mydnic