title: Dojo dijit.form.Select Validation Error Display
body: <p>I am finding that in <strong>Dojo 1.7.3</strong>, setting <code>required: true</code> on a <em>dijit.form.Select</em> does not properly apply a red bordered error display to the Select as it does with other dijits such as FilteringSelect. If it is in an error state and has focus, it displays the tooltip, but it doesn't apply the red borders to the Select input.</p>
  
  <p>Past answers I've seen regarding this are:</p>
  
  <ol>
  <li><p>Select wasn't originally constructed to allow for validation, so it is missing the proper classes/divs in its template (such as for the red box with exclamation point), meaning you'd need to add your own CSS.</p></li>
  <li><p>A blank value for a Select box isn't necessarily invalid.</p></li>
  </ol>
  
  <p>I found <a href="http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/form/test_Select.html" rel="nofollow">this</a> example page where a normal dijit.form.Select with <code>required: true</code> seems to work (almost) as expected. I say almost because it looks like it keeps its blue border with the red exclamation point box when it first loses focus and doesn't get the full red border until a secondary focus change (in Firefox, at least).</p>
  
  <p>I haven't been able to discern anything in this example page that could be used to get the error formatting to work for <em>dijit.form.Select</em>. It does appear to be using Dojo 1.7.4, but I don't see anything in 1.7.4 release notes about the Select error display being fixed.</p>
  
  <p>Has this not been considered a bug that needs to be fixed? Is there a way to easily apply the validation styles without having to mess with the dijit template?</p>
  
  <p>Any help/ideas appreciated.</p>
  
  <p>Thanks.</p>