Opened 13 years ago

Closed 7 years ago

#10446 closed enhancement (patchwelcome)

Select: support required (but initially unset) fields

Reported by: bill Owned by:
Priority: high Milestone: 1.13
Component: Dijit - Form Version: 1.4.0b
Keywords: Cc:
Blocked By: Blocking:


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>

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)

comment:1 Changed 12 years ago by bill

Milestone: 1.51.6
Owner: Nathan Toone deleted

comment:2 Changed 11 years ago by Douglas Hays

Milestone: 1.61.7
Owner: set to Douglas Hays

comment:3 Changed 11 years ago by Douglas Hays

Milestone: 1.71.8

comment:4 Changed 11 years ago by bill

Component: DijitDijit - Form

comment:5 Changed 10 years ago by Douglas Hays

Milestone: 1.8future

This would ideally require an invalid icon added to the template.

comment:6 Changed 8 years ago by Douglas Hays

Owner: Douglas Hays deleted
Status: newassigned

comment:7 Changed 8 years ago by Douglas Hays

Status: assignedopen

comment:8 Changed 7 years ago by dylan

Milestone: future1.12
Resolution: patchwelcome
Status: openclosed

Given that no one has shown interest in creating a patch in the past 5+ years, I'm closing this as patchwelcome.

Note: See TracTickets for help on using tickets.