bug: ion-back-button ignores global config for backButtonText
See original GitHub issuePrerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
- v4.x
- v5.x
- v6.x
Current Behavior
ion-back-button ignores global config:
IonicModule.forRoot({ backButtonText: '', }),
Expected Behavior
back button contains only icon
Steps to Reproduce
Update to “@ionic/angular”: “^5.8.3” with “@angular/*”: “~12.2.9”
Code Reproduction URL
No response
Ionic Info
Ionic:
Ionic CLI : 6.17.1 (/usr/local/lib/node_modules/@ionic/cli) Ionic Framework : @ionic/angular 5.8.3 @angular-devkit/build-angular : 12.2.9 @angular-devkit/schematics : 12.0.3 @angular/cli : 12.2.9 @ionic/angular-toolkit : 4.0.0
Cordova:
Cordova CLI : 10.0.0 Cordova Platforms : android 10.1.0, ios 6.2.0 Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 16 other plugins)
Utility:
cordova-res : 0.15.3 native-run : 1.4.1
System:
Android SDK Tools : 26.1.1 (/Users/vs/Library/Android/sdk) ios-deploy : 1.11.4 ios-sim : 8.0.2 NodeJS : v12.18.3 (/usr/local/bin/node) npm : 6.14.6 OS : macOS Big Sur Xcode : Xcode 13.0 Build version 13A233
Additional Information
No response
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:6 (3 by maintainers)
Top GitHub Comments
This is fixed in Ionic Angular v5.8.4. Thanks for the report!
Thanks for the issue. This has been resolved via https://github.com/ionic-team/ionic-framework/pull/24054, and a fix will be available in an upcoming release of Ionic Framework.