clash validation for leg start with calendar,  max&minDate for calendar not working