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

usePlaceholder does not work with useImmediate #282

Closed jefftrull closed 10 years ago

jefftrull commented 11 years ago

When using InlineBlind with useFocus, if usePlaceholder and useImmediate are both true, the current date is displayed instead of the placeholder. If usePlaceholder is true and useImmediate is false, the placeholder is displayed, but clicking on the input reveals only a small black strip (either the datepicker is malformed or it is present but mostly hidden).

It is my goal to have the placeholder text displayed until the user has exposed the datepicker and selected a date, so usePlaceholder=useImmediate=true seems like the correct choice of options.

jefftrull commented 11 years ago

Test code https://gist.github.com/jefftrull/5971433