vue-bulma / datepicker

Datepicker Component for Vue Bulma
MIT License
115 stars 56 forks source link

Watch config option for reactive updates #25

Closed Towerful closed 7 years ago

Towerful commented 7 years ago

Allows you to change any of the config options programatically (for example, changing minDate & maxDate, after construction)

Blindly assigns in the new config to the datepicker.
This replicates the behaviour of flatpickr.set('configOption', configValue); ( https://github.com/chmln/flatpickr/blob/master/src/flatpickr.js#L1379 )

avitex commented 7 years ago

Would be great to see this merged

luventa commented 7 years ago

merged. Sorry for response late... I was to busy these days.