q-input change text color and change label color permanently
-
So I am making a form with a dark background so would like the text entered by users to appear white and the label text to always appear gold even when not clicked (or at least not black). Just wondering if this is possible the image shows to q-inputs with identical settings the first is selected and filled out the second is not touched. In their current states I would like the second to show the label in gold and the first to have white text.
-
@LouisD135 Try:
<q-input label-color="gold" ...
Also, if on a dark background you probably want to use the
dark
property, i.e.<q-input label-color="gold" dark ...
-
@beets label-color doesn’t seem to change anything but the dark tag makes the labels white while not selected which is fine would be nice if there was a way to change the color of an unselected label though. Thanks a lot for your help