How to display the selected date from calendar to text box using ionic 2?

At first with the help of this https://github.com/twinssbc/Ionic2-Calendar i generated calendar.That calendar is in drop down.When i open calendar that calendar it defaults selects the present date and just blinks the calendar and automatically close the calendar instead of that i wanted to select manual date and i wanted to close the calendar.
Below is my ts code:
onTimeSelected(ev) { console.log('Selected time: '+ ev.selectedTime + ev.disabled); let data=this.isToday; console.log(this.isToday); this.viewCtrl.dismiss({"selecteddate":data}); console.log('selectedtime'); this.navCtrl.push(HomePage,{ selecteddate:ev.selectedTime }); }

Below is my html code:
<calendar (onTimeSelected)="onTimeSelected($event)"> </calendar>