UI Builder - Adding custom options to a date filter using script

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2023 03:31 AM
Hi All,
I have a UI builder page with a date range filter. I need to add some custom options to the filter, such as Last 24 hours etc. I've got as far as this:
But I don't think the values are correct, the labels display ok when the filter is selected, but when I select either the date range is just set to yesterday.
Has anyone done anything with custom filters? Any examples?
Thanks,
Tim.
0 REPLIES 0