I've been using the jQuery UI Date Picker
for a project of mine and decided to combine it with a some Bootstrap form controls
, specifically the input field that has a group add-on showing an icon from Font Awesome
appended to the control.
The result is a nice looking date input field...
Compared to the Date Picker
example, my version is lightyears ahead. This is what the example icon trigger looks like...
Not very pretty!
So here's the code for my version...
With this you can either click on the input field to pop up the date picker input or you can click on the icon to get the same result.
A quick disclaimer...
Although I put in a great effort into researching all the topics I cover, mistakes can happen.
Use of any information from my blog posts should be at own risk and I do not hold any liability towards any information misuse or damages caused by following any of my posts.
All content and opinions expressed on this Blog are my own and do not represent the opinions of my employer (Oracle).
Use of any information contained in this blog post/article is subject to this disclaimer