Closed
Description
The following element fires the change event upon creation
<b-form-checkbox @change="onChange($event)" :checked="visible"></b-form-checkbox>
This behavior seems to be intentional as state in form-checkbox.vue
.
mounted() {
this.change(this.localChecked);
},
The problem is that whenever I register the change
event listener on a regular checkbox, it does not fire the change event right away and it seems that this component should not either.
Is there a good reason for this behavior? am I missing something here?
Metadata
Metadata
Assignees
Labels
No labels