79712404

Date: 2025-07-23 18:27:44
Score: 3
Natty:
Report link

Oh I got solution for this already, my problem wasn't AJV validation at all, my mistake was using a select option with a value = "", this will made the Select element required by Html.

<select>
<option value = ""> option 0 </option> <---- this will make select tag required.
<select>

Can I apply the required attribute to <select> fields in HTML?

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Othmane Namani