add selectedDate for date driective