TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Bharath R
NA
33
4.7k
monthSelected Event Handler in OwlDateTimepicker not calling
Oct 14 2019 2:53 AM
I Need a Month Picker on my app so here i am using Owl-Date-picker, when the use selected the month the date picker have to close that as been handled by the monthSelected Event But My issue here in "monthSelected Event Handler Calling when select the month". I am here using angular 8.Please help me,Thanks
Here is my Code..
<owl-date-time [pickerType]="'calendar'" [startView]="'multi-years'" (change)='txtMonth_Change()' (yearSelected)="chosenYearHandler($event)"
(monthSelected)="chosenMonthHandler($event, dtMonth)" #dtMonth="owlDateTime"></owl-date-time>
chosenMonthHandler( normalizedMonth: Moment, datepicker: OwlDateTimeComponent<Moment> ) {
const ctrlValue = this.date.value;
ctrlValue.month(normalizedMonth.month());
this.date.setValue(ctrlValue);
datepicker.close();
}
Reply
Answers (
2
)
display color for ng-repeat item
AngularJS CRUD Operation Using ASP.NET MVC