It is possible for the date range object to get defined without actually specifying a date. Therefore you can't just see if the model has data associated with it. You actually need to check if the start/end dates are specified. I added it as another attribute directive so that it didn't interfere with the rest of the main directive
It is possible for the date range object to get defined without actually specifying a date. Therefore you can't just see if the model has data associated with it. You actually need to check if the start/end dates are specified. I added it as another attribute directive so that it didn't interfere with the rest of the main directive