question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bug: ion-back-button ignores global config for backButtonText

See original GitHub issue

Prerequisites

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:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
liamdebeasicommented, Oct 11, 2021

This is fixed in Ionic Angular v5.8.4. Thanks for the report!

npm install @ionic/angular@latest
1reaction
liamdebeasicommented, Oct 11, 2021

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ionic 5 - Remove ion-back-button text on ios global
You can give a config object to Ionic in your app's main modules ... The way to remove "ion-back-button's text" from IOS via...
Read more >
back button ionic function Code Example - Code Grepper
Queries related to “back button ionic function”. ionic back button · ionic 1 ion-back-button · ionic 4 back button · ionic mobile back...
Read more >
Config | Ionic Config to Change Component Properties Globally
Ionic Config provides a way to change the properties of components globally across an app. It can set the app mode, tab button...
Read more >
Unable to boot device due to insufficient system resources ...
I closed Xcode and Simulator and then restarted my computer and the error went away. It has been 3 days and it has...
Read more >
The Push Notifications Guide for Ionic & Capacitor
The next step is to add a web, iOS and Android application inside Firebase. You can do this right from the Dashboard or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found