Date range picker in Service portal widget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2024 07:48 AM
I have a requirement to show an input field using that user should be able to select date ranges which will be further used in filters to show data between those dates.
I have tried to use the below url which has explained how to create a field which gives daterangepicker functionality: https://www.daterangepicker.com/ but unable to achieve.
Can anyone suggest me how to build a field to support date ranges.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2024 06:36 AM
Hi,
You can go through the below link:
https://www.youtube.com/watch?v=WjubuuBMpec
It will help you to resolve your query.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2024 05:27 AM
This will not give me the option to select a range. It will just give me the option to select a single date.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2024 07:15 AM
<sp-date-picker ng-model="data.datePicker" sn-change="customDate()" sn-include-time="false"></sp-date-picker>
I usually use the above one for date-time fields. Works like a charm . We have other custom bootstrap pickers as well but they some client side handling and may create issues during upgrade/ version change.
Tanuj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2024 05:27 AM
Hi Tanuj,
This will not give me the option to select a range. It will just give me the option to select a single date.