if i do {{bootstrap-datepicker value=expiresAt startDate='01/01/2001'}} the component will throw an cannot read property 'datepicker' of undefined due to the respective observers firing before this.$() has a value.
This PR is fixing that bug by adding those observers inside a didInsertElement hook.
if i do
{{bootstrap-datepicker value=expiresAt startDate='01/01/2001'}}
the component will throw ancannot read property 'datepicker' of undefined
due to the respective observers firing beforethis.$()
has a value.This PR is fixing that bug by adding those observers inside a
didInsertElement
hook.