You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to create a dynamic filter for type=date_time for a non existing field an error (see screenshot below).
However, date_time is already implemented because if you reference an existing field (e.g. created_at it shows up nicely, see example code below)
date_time is not a valid dynamic filter type. All the possible filter types are specified on the documentation on the type section (here)
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.
Hi @Paul-Bob yes, allowing to set picker_options on a dynamic_filter of type = date will do the trick for me.
I guess we can close this one? and just have issue #3182 ?
Feature
If you want to create a dynamic filter for
type=date_time
for a non existing field an error (see screenshot below).However, date_time is already implemented because if you reference an existing field (e.g.
created_at
it shows up nicely, see example code below)Current workarounds
when using
type: :date
it works, but then I don't have the time component...Screenshots or screen recordings
The text was updated successfully, but these errors were encountered: