BootstrapDatePicker Widget

We use the BootstrapDatePicker widget to disable certain days (saturday/sunday) in the datepicker. Would it be possible to change the widget such that the disabled days are based on an attribute (that would be configured in the same way, for example we would create a string variable '0,6,1' to filter out saturday, sunday and monday). Would this be a small change to the widget? Or would this be difficult?
0 answers