You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ionic/vue ionChange not catchable in a straightforward way since update #30170
with "ion-change" being specified literally that way, to listen to said event. Neither v-on:ionChange nor v-on:ion-change (with shorthands et cetera) are working anymore.
I noticed this after a dependency update that brought me to version 8.4.3 from version 8.4.1 - and also it went unnoticed because I personally only seldom use ionChange, relying most of the times on v-models.
changed the title [-]ionic/vue behaves strangely since a few versions[/-][+]ionic/vue ionChange not catchable in a straightforward way since update[/+]on Jan 30, 2025
I can confirm it.
I'm using Ionic Vue, 8.4.3 and it seems that after the update ALL @ionChange and @ionInput events are not working anymore, of all components (ion-range, ion-input etc).
The event handler gets not triggered.
I downgraded to 8.4.2 and it's working fine.
Reacted by Maximilian Schmid, Stefan Trauth, Dietmar Scharf, Bernhard Pfeifer, Yura, Matheus Felipe, Alexandre G., jacobg and Lukas Roth
Downgrading to 8.4.2 seems the only solution for now!
Not really, you can always refactor your entire code to use the symbol instead (sarcasm) but that's what I did, and hopefully I can just leave it like that
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Activity
[-]ionic/vue behaves strangely since a few versions[/-][+]ionic/vue ionChange not catchable in a straightforward way since update[/+]mpaland commentedon Jan 30, 2025
I can confirm it.
I'm using Ionic Vue, 8.4.3 and it seems that after the update ALL @ionChange and @ionInput events are not working anymore, of all components (ion-range, ion-input etc).
The event handler gets not triggered.
I downgraded to 8.4.2 and it's working fine.
anaseqal commentedon Jan 31, 2025
i can confirm it too.
in v 8.4.3 @ionRefresh and @ionInfinite is ignored, seems like global events handler issue.
maximilianschmid commentedon Jan 31, 2025
Same @ion-change in vue not triggered anymore after update from @ionic/vue 8.4.2 to 8.4.3
stefantschierschke commentedon Jan 31, 2025
I can confirm this issue.
Using:
@ionic/vue: ^8.4.0
vue: ^3.5.13
None of the events from input fields are being triggered, including:
ion-select
ion-input
ion-textarea
ion-checkbox
Specifically, these event listeners are not firing:
@IonChange
@IonInput
@IonUpdate
A workaround is to rewrite the Ionic event bindings using Vue events, e.g., via v-model.
However, this should not be the final solution.
Has anyone found a proper fix for this?
conradfr commentedon Jan 31, 2025
Oh, so I'm not crazy.
dietmarscharf commentedon Feb 1, 2025
Downgrading to 8.4.2 seems the only solution for now!
socialmedialabs commentedon Feb 2, 2025
Chiming in on this issue. I can confirm that
ionChangedoes not fire since updating from[email protected]to[email protected].Using
ion-pickerand adding an@ionChangetoion-picker-columndoes not fire any change events.Downgrading to v8.4.2 solves the issue.
My setup
[email protected][email protected][email protected]NyaomiDEV commentedon Feb 2, 2025
Not really, you can always refactor your entire code to use the symbol instead (sarcasm) but that's what I did, and hopefully I can just leave it like that
Ciriak commentedon Feb 3, 2025
+1 @ionChange events are not fired anymore
bekaku commentedon Feb 4, 2025
Seem like most of events not fired in version 8.4.3
brandyscarney commentedon Mar 3, 2025
Thank you for the issue! We're currently investigating this, along with all other related Vue issues introduced in version 8.4.3.
fix(vue): update output target and properly emit events (#30227)
lu-roth commentedon Mar 13, 2025
i can confirm it too.
Events not working in version 8.4.3
socialmedialabs commentedon Mar 13, 2025
@lu-roth this was apparently fixed with version 8.4.4. see #30227
brandyscarney commentedon Mar 13, 2025
We'll have
8.4.4out soon with a fix for this. We're just verifying that some other regressions were resolved here: #30239ionitron-bot commentedon Apr 12, 2025
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.