Checking null/empty string for singleDatePicker

If single date picker is enabled and value attribute is not provided then it shows 0000 year due to val having empty string.