Opened 9 years ago

Closed 9 years ago

#16424 closed enhancement (fixed)

display placeholder value if form-widget is empty

Reported by: gerhard presser Owned by: Douglas Hays
Priority: undecided Milestone: 1.9
Component: Dijit - Form Version: 1.8.1
Keywords: Cc: liucougar
Blocked By: Blocking:


as defined in the HTML5 spec

the placeholder attribute may/should be visible even if the widget is focused - if there's still no value.

see also:

Change History (3)

comment:1 Changed 9 years ago by bill

Cc: liucougar added

I can't remember why we didn't do it that way originally. The spec does seem to say to show the hint until the user starts typing, and I can see the benefit of that.

comment:2 Changed 9 years ago by Douglas Hays

Milestone: tbd1.9

comment:3 Changed 9 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

In [30597]:

Fixes #16424. CHeck to see if the textbox value is nonempty before removing the placeHolder.

Note: See TracTickets for help on using tickets.