ember-cli-bootstrap-datetimepicker
ember-cli-bootstrap-datetimepicker copied to clipboard
dynamically updating daysOfWeekDisabled not updating datetimepicker
In the code below, updating daysOfWeekDisabled
via the daysOff
computed does not seem to be felt at the bs-datetimepicker
, not sure if it's possible to update the datetimepicker
widget with the new values this way but maybe possibly it would be required to destroy and recreate the whole component then?
{{bs-datetimepicker format='LD' date=randomOffDay
daysOfWeekDisabled=(map-by "value" daysOff)}}
Thanks!
Could you create a reproduction?
Ping @ashrafhasson
I'll try to create a JSBin although can't promise it'll be done very soon.