Fancy Ember Datepicker with Twitter Bootstrap

Posted on June 25, 2013 - Subscribe - Home

I showed how to make a simple datepicker in my previous post using a computed property. The computed property parsed the text into a Date object. This example is more userfriendly. It uses wonderful twitter bootstrap datepicker. This example fully integrates the library into our ember view.

The datepicker is create inside the didInsertElement callback. The view connects to the datepicker's dateChange event to pass the selected Date object back to the original computed property.

You may still type in dates matching the given format.

Ember + Bootstrap Datepicker

— Adam Hawkins