I have a problem with ion-button
in ionic v4
If I write in my app
<ion-button>Hi</ion-button>
And run the application, the app show the button with te text in uppercase I need the buttons to be shown with the text as I wrote it. Please
Use autocapitalize property of textarea field, use autocapitalize="true", e.g. It will auto capitalize first letter of every sentence.
We can use CSS inline directly to control button alignment or we can use Ionic utilities CSS to control alignment.
A color can be applied to an Ionic component in order to change the default colors using the color attribute. Notice in the buttons below that the text and background changes based on the color set. When there is no color set on the button it uses the primary color by default.
In ionic-5, in theme/variables.css
, you could add the following
ion-button {
text-transform: none;
}
This would apply for the entire app. Also refer this github issue comment.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With