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
Runs with npm run start. On second tab this is fab with modal. On modal two segments and two radios for one property transactionType. Radios initialized correctly, segments not.
Expected Behavior
ion-segment selects by model segment on modal opened.
Steps to Reproduce
Runs code above with npm run start
Go to second tab.
Click fab with plus sign to open modal.
See correct behaviour of ion-radio buttons and incorrect behavior (all segments deselected) of ion-segment.
Thanks for the issue. I am going to close this as a duplicate of #28816. I merged a fix for this a couple days ago, so the fix will be in an upcoming version of Ionic.
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.
Prerequisites
Ionic Framework Version
v7.x
Current Behavior
Resume: ion-segment initial value not properly displayed in ion-modal.
Here is simple testcase ionic-angular app https://github.com/rusekr/finstorm/tree/master with one modal and three tabs.
Runs with
npm run start
. On second tab this is fab with modal. On modal two segments and two radios for one propertytransactionType
. Radios initialized correctly, segments not.Expected Behavior
ion-segment selects by model segment on modal opened.
Steps to Reproduce
npm run start
Code Reproduction URL
https://github.com/rusekr/finstorm/tree/master
Ionic Info
Ionic:
Ionic CLI : 7.1.5 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 7.6.5
@angular-devkit/build-angular : 17.1.0
@angular-devkit/schematics : 17.1.0
@angular/cli : 17.1.0
@ionic/angular-toolkit : 11.0.0
Capacitor:
Capacitor CLI : 5.6.0
@capacitor/android : 5.6.0
@capacitor/core : 5.6.0
@capacitor/ios : not installed
Utility:
cordova-res : not installed globally
native-run : 2.0.0
System:
NodeJS : v20.10.0 (/usr/bin/node20)
npm : 10.2.3
OS : Linux 6.6
Additional Information
Tried [value] property instead or alongside ngModel with no luck.
The text was updated successfully, but these errors were encountered: