Reputation: 81
I am working angular4 app using webpack. Now I need use datetime picker for my requirement. I tried angular4 material and also ng2-datepicker-bootstrap but these gives error and not build app.I have no idea how to use it in webpack project with angular4
How can i use it any suggestion.
I follow this tutorial for my angular4 webpack configuration. angular4 webpack configuration
Thanks
Upvotes: 1
Views: 488
Reputation: 7095
Simply use an INPUT TYPE DATE, that will give you a datetime picker.
<input type=date>
https://www.w3schools.com/html/html_form_input_types.asp
Upvotes: 1