Skip to content
Snippets Groups Projects
Commit 3b2ef015 authored by Andreas Fernandez's avatar Andreas Fernandez Committed by Oliver Bartsch
Browse files

[BUGFIX] Set current time as default in flatpickr

flatpickr always defaults to 12:00 if no other value is given, being
quite inconvenient. The options `defaultHour` and `defaultMinute` are
now provided to set the current time when opening flatpickr on an empty
input field.

Resolves: #97798
Releases: main, 11.5
Change-Id: Ic222c2ff0e3bf111c498c16dd27ecdc703909342
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75086


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarNikita Hovratov <nikita.h@live.de>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarNikita Hovratov <nikita.h@live.de>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
parent e2973c0e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment