-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: ion-back-button ignores global config for backButtonText #24052
Comments
I also encountered this problem |
Quick fix if you need. variables.scss or another global file: |
I debugged a bit. Looks like this commit causes this.
and then called again (from
|
Thanks for the issue. This has been resolved via #24054, and a fix will be available in an upcoming release of Ionic Framework. |
This is fixed in Ionic Angular v5.8.4. Thanks for the report!
|
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
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
The text was updated successfully, but these errors were encountered: