jtsage / jtsage-datebox

A multi-mode date and time picker for Bootstrap (3&4), jQueryMobile, Foundation, Bulma, FomanticUI, and UIKit (or others)
http://datebox.jtsage.dev/
Other
474 stars 166 forks source link

Change usePlaceholder to use HTML5 placeholder attribute #233

Closed wwuck closed 11 years ago

wwuck commented 12 years ago

I think it would be best if usePlaceholder was changed to get the placeholder data from the placeholder attribute instead of the associated <label> element. This is what would occur if the placeholder attribute was used on a native text input.

Eg.

<input type="date" placeholder="Date input field" />
jtsage commented 11 years ago

Good call - I remembered to look at "title" first, but I forgot about the new(er) "placeholder"

jtsage commented 11 years ago

Closed by SHA: 6e6bae8be2fc185423f53923e1c6506b77ab9c3b