Open
Description
Enabling the time picker on a date
filter is only possible (for now) if the filter is defined in a date_time
or time
field.
The filter is using flatpickr behind the scenes, to fully customize the picker we can add the picker_options
option where you could configure flatpick options.
Something like:
dynamic_filter :only_time_example,
type: :date,
picker_options: {
enableTime: true,
noCalendar: true
}
dynamic_filter :date_time_example,
type: :date,
picker_options: {
enableTime: true
}
Originally posted by @Paul-Bob in #3180 (comment)