Skip to content
Discussion options

You must be logged in to vote

That's strange. Quasar's color prop doesn't affect the input text, but only some kind of focus indicator:
https://quasar.dev/vue-components/input#coloring

And .style('color: #FFFFFF !important') does not work, because ui.input consists of multiple nested HTML elements and style only affects the outermost element.

But you can use the input-style prop to apply CSS to the input HTML element:

ui.input().props('input-style="color: red"')

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@CrimsonGhost69
Comment options

Answer selected by CrimsonGhost69
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants