Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#14229 closed defect (fixed)

FilteringSelect: placeHolder was disappeared after set Null

Reported by: vtsuper Owned by: Douglas Hays
Priority: high Milestone: 1.7
Component: Dijit - Form Version: 1.6.0
Keywords: placeHolder, dijit.form.FilteringSelect Cc:
Blocked By: Blocking:

Description (last modified by bill)

when I programmatically set value of a dijit.form.FilteringSelect(with placeHolder) by this

w.set('value',); or w.set('value',null);

the value will change but the placeHolder will not show again.

to reproduce this case

  1. load the sample file and you will see the dijit.form.FilteringSelect with placeHolder
  2. select any options
  3. select set Null, blank or undefined
  4. although the option was change to blank but the placeHolder won't show again.

Attachments (1)

sample.html (1.5 KB) - added by vtsuper 10 years ago.

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by vtsuper

Attachment: sample.html added

comment:1 Changed 10 years ago by bill

Component: GeneralDijit - Form
Description: modified (diff)
Owner: set to Douglas Hays
Summary: placeHolder in dijit.form.FilteringSelect was disappeared after set NullFilteringSelect: placeHolder was disappeared after set Null

comment:2 Changed 10 years ago by bill

Milestone: tbd

comment:3 Changed 10 years ago by Douglas Hays

Milestone: tbd1.8

comment:4 Changed 10 years ago by Douglas Hays

Milestone: 1.81.7
Resolution: fixed
Status: newclosed

Already fixed in 1.7.

comment:5 Changed 10 years ago by Douglas Hays

In [27372]:

Refs #14229. Add automated placeHolder test to prevent any future regression.

Note: See TracTickets for help on using tickets.