ember-cli-bootstrap-datetimepicker icon indicating copy to clipboard operation
ember-cli-bootstrap-datetimepicker copied to clipboard

dynamically updating daysOfWeekDisabled not updating datetimepicker

Open ashrafhasson opened this issue 6 years ago • 3 comments

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!

ashrafhasson avatar Nov 01 '18 19:11 ashrafhasson

Could you create a reproduction?

btecu avatar Dec 12 '18 00:12 btecu

Ping @ashrafhasson

btecu avatar May 14 '19 15:05 btecu

I'll try to create a JSBin although can't promise it'll be done very soon.

ashrafhasson avatar May 15 '19 18:05 ashrafhasson