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
Minnu Merin Alex
NA
191
27.6k
Bind date to a formControlname input in Angular7
Apr 16 2019 11:41 PM
Hi,
I am new to angular. I have an input with type "date".How will I bind the date to this input?
<input type="date" class="form-control" formControlName="startDateInput">
i tried like this but didnt work for me
this.createForm.patchValue({
startDateInput:this.resourceData['period'].start,
});
please help to do this
Reply
Answers (
1
)
How to write a service and a controller within same js file
Angular Form validation with minimum and maximum number