Capitalization of q-btn label
-
If you want to change the capitalization of the label in QBtn, what’s the best way to go around it?
Currently, I have it as
<q-btn class="capitalize !important" label="Button" />
Works for both mat and ios themes but I’m wondering if there is actually a recommended way to handle this? Thanks!
-
Do you mean all-caps or first-letter caps?
-
@nothingismagick Preferbly without any post-formatting. Because currently, if built with the material theme, it defaults to All Caps. I know you can add in the lowercase or uppercase class if you want all lowercases or all uppercases respectively. The current way I do it works but I’m not sure if it’s the right way to go about it
-
I think I found the answer. It was actually in the documentation for Buttons (fml…) just put no-caps in it
<q-btn no-caps label="wTv" />