Open IntellectProductions opened 8 years ago
You could try using the action helper like this:
{{bootstrap-datepicker changeDate=(action 'calculateNextAppt' 'parameter')}}
Then the action function would be like this:
actions: {
calculateNextAppt(date, parameter) {
// do sth with the new date
}
}
Is there anyway to pass a parameter to the action hooks on this component?
Right now, I have this:
But I need to be able to pass a parameter to this action method.. is there a way to do so in this component?
Thank you.