I need to be able to have a datepicker with only one day of each month selectable. It seems to do so I need to use a function returning a value informing if the date is valid or not. Jquery UI and flatpickr work like that.
Unfortunately, Jquery and Flatpickr Implementation in Ember both do not support a fucntion for disabling, and Jquery is actively discouraged.
Is there any datepicker allowing disabling though a function in Ember ?
I would say instead that we want the choice to use jQuery to be up to each app author, rather than making it required for everyone. You should absolutely feel free to use jQuery.
Sorry to reply so late. I ended up making a computed Property (with help) returning the array with the function defined with a => allowing me to do a this.get(‘value’) inside it :