Ghost/ghost/admin/app/templates/components/gh-datetime-input.hbs
Kevin Ansfield 6bb32c2fe7 Fix changing text and jumping caret in PSM's date input
refs #5777
- adds new `gh-datetime-input` that takes a one-way-bound value and formats it, only triggering the supplied `update` action on focus-out
- fixes bug in PSM's `setPublishedAt` action if model's `published_at` is a Date object not a Moment object
2015-12-08 10:13:17 +00:00

6 lines
150 B
Handlebars

{{gh-input value=datetime
id=inputId
class=inputClass
name=inputName
stopEnterKeyDownPropagation="true"}}