Select: support required (but initially unset) fields
Add way to make select widgets initially have "no value" but then require the user to pick something from the drop down. The drop down shouldn't include a blank option as a value.
<select dojoType="dijit.form.Select" value="" required="true">
<option value="TN">Tennessee</option>
<option value="VA">Virginia</option>
<option value="WA">Washington</option>
<option value="FL">Florida</option>
<option value="CA">California</option>
</select>
I thought Nathan said this was already supported but it doesn't seem to work for me. Maybe it works when loading from an external store but not from inlined data?
Split off from #10431.
Change History (8)
Milestone: |
1.5 →
1.6
|
Owner: |
Nathan Toone deleted
|
Milestone: |
1.6 →
1.7
|
Owner: |
set to Douglas Hays
|
Component: |
Dijit →
Dijit - Form
|
Owner: |
Douglas Hays deleted
|
Status: |
new →
assigned
|
Milestone: |
future →
1.12
|
Resolution: |
→ patchwelcome
|
Status: |
open →
closed
|
This would ideally require an invalid icon added to the template.