I am having two DatePicker (named fromdate and todate) and a button (named as save).
By default, today's date will be populated in both the DatePicker. And I have added minimum date validation ( the user can select only today's or greater date.
If today's date is 30th May and the user selects 15th June from fromdate and clicked ok. Now the default today date is displayed in todate.
I want a validation like if the user selects 15th June in fromdate and click ok, then the todate should be populated with fromdate.