empty field in date type should return null

Hi Team,

In the implementation of queryBuilder the date value for empty field returns current date which I don't want.

What i am trying to achieve is when value field is empty it should return null value for date field and return other dates whatever selected or entered in calendar.
if you see below in the picture empty field returns current date or previous entered value.



Any help would be appreciated,

Thankyou,
Maaz

1 Reply

AD Arunkumar Devendiran Syncfusion Team February 28, 2020 03:53 PM UTC

Hi MaazMohammed, 
 
Thanks for your patience.  
 
We checked your reported query and we would inform you that we have set the current date if the value field is empty in the querybuider rule. However, we have created the sample for your requirement, in that we have rendered the datepicker using template support and update the rule when datepicker has empty value. Please check the below sample is fulfilling your requirement, if not please share us more information regarding this. So, that we can analyze based on that and provide you a better solution. The information provided would be great help for us to proceed further. 
 
Sample Link: 
 
Regards, 
Arunkumar D 


Loader.
Up arrow icon