The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Currently, I am using a Date Range Picker for selecting start and end date values. I would like to know if there is a possibility to have end date as optional value.
On select event I have enabled apply button when enddate is null and start date has value. While on click of apply event is not triggering change() function, hence no data is rendering in UI. Is there any way to save the date range picker with and without end date?
PKPriyanka Karthikeyan Syncfusion Team April 22, 2024 03:43 PM UTC
Hi Radha Velmurugan,
Thank you for reaching out to us.
By default, the daterangepicker processes based on both the start date and end date. However, if you need to work with just the start date and not select an end date, you can achieve this by using the select event. Below is an example where we set the start date value to be the same as the end date:
Furthermore, if there is a possibility that we misunderstood your requirement, we would greatly appreciate it if you could provide us with further information about your scenario. This will help us align our understanding with your expectations and provide you with the best possible assistance.