I want to pass an ID and the state of a checkbox to it’s onChange action. I succesfully can pass the checked state :
{{input type='checkbox' change=(action "selectProduit" value="target.checked") }}
And I can successfully pass the ID value:
{{input type='checkbox' change=(action "selectProduit" id)}}
When I try to pass them both, I end up with an undefined value for id
How can I pass them both ?
2 posts - 2 participants