Skip to content

bug: ionChange does not fire on ion-accordion-group in vue #23762

@liamdebeasi

Description

@liamdebeasi

Prequisites

Ionic Framework Version

  • v4.x
  • v5.x
  • v6.x

Current Behavior

ionChange does not fire on ion-accordion-group because the internal component is firing v-ion-change. In https://github.com/ionic-team/ionic-framework/blob/main/packages/vue/src/ionic-vue.ts#L12-L13 we assume that every component that fires ionChange is a v-model component. That was true in v5, but in v6 we added accordion which is not a v-model component.

Expected Behavior

I would expect ionChange to fire on ion-accordion-group

Steps to Reproduce

Add @ionChange to ion-accordion-group and observe that callback does not fire

Code Reproduction URL

No response

Ionic Info

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions