mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
🐛 Fixed "scheduled at" datepicker not showing correct month when opening (#860)
closes https://github.com/TryGhost/Ghost/issues/8891 - set the `center` option as well as the `selected` option for `{{power-datepicker}}` inside `{{gh-date-time-picker}}` to force the month view to jump to the correct date when the selection changes
This commit is contained in:
parent
1cab2dd66f
commit
aa5b85d7c1
1 changed files with 1 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
<div class="gh-date-time-picker">
|
||||
{{#power-datepicker
|
||||
selected=_date
|
||||
center=_date
|
||||
onSelect=(action "setDate" value="date")
|
||||
renderInPlace=true
|
||||
disabled=disabled as |dp|
|
||||
|
|
Loading…
Add table
Reference in a new issue