<br><div class="gmail_quote">On Fri, Jun 18, 2010 at 12:58 PM, Gordon P. Hemsley <span dir="ltr"><<a href="mailto:gphemsley@gmail.com">gphemsley@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I'm not sure how you interpreted, but I wanted to clarify, in case it wasn't clear.<br><br>I'm pretty sure this person is asking why @required isn't allowed on <select> elements.<br><br>As in: <a href="http://dev.w3.org/html5/markup/forms-attributes.html#shared-form.attrs.required" target="_blank">http://dev.w3.org/html5/markup/forms-attributes.html#shared-form.attrs.required</a><br>
</blockquote><div> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>I don't know what the exact reasoning is for it not being on there, nor do I know exactly how @required is supposed to be enforced, but I do think that the method suggested in the bug is a bad one. Sometimes, authors will include an empty <option> on purpose in order to allow for an empty option to be selected.<br>
</blockquote><div><br>Perhaps the @requires attribute could be handled somewhat differently.
If present the "default" value becomes the "not allowed" value and the
browser would require you to change the value before submitting the
form.<br><br></div></div>-- <br>Eitan Adler<br>