AmpleOrganics / AmpleOrganics/Blaze.vue
AoCheckbox: emits Boolean rather than assigned value
Open
- Dominant language
- Vue
- Stars
- 6
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
# Issue summary
When setting the `checkboxValue` prop to an object, selecting the checkbox emits `true` rather than the assigned value.
## Expected behavior
The 'input' emit should pass the Number/Object/Array privided by the checkboxValue prop
## Actual behavior
The 'input' emit always passes a Boolean
## Steps to reproduce the problem
1. Add an ao-checkbox with the `:checkbox-value` prop set to an Object or Number
1. Click the checkbox
Contributor guide
Assessment
This issue has not been assessed yet.