[SOLVED] Aurelia-bootstrap-datetimepicker -> minDate

Hil all,

I have the value of the dates , but i want to set the “minDate” of other datepicker to create a datepicker range.

I’m not able to “update” the graphics of the control… any suggestion?

They probably only update min date when the whole options binding occurs.

So to update min date you would have to trigger the binding update for options by passing in a new object. This is because object properties do not trigger the objects binding update.

<datetime-picker options.bind="endOptions"></datetime-picker
this.endOptions = { // set new min date
   minDate: '2018-06-12',
   format: 'YYYY-MM-DD'