No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    q-input change text color and change label color permanently

    Help
    label-color q-form q-input text-color
    2
    3
    1452
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      LouisD135 last edited by

      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.
      poorloginform.png
      poorloginformcode.png

      1 Reply Last reply Reply Quote 0
      • beets
        beets last edited by beets

        @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 ... 
        
        L 1 Reply Last reply Reply Quote 1
        • L
          LouisD135 @beets last edited by

          @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 🙂

          1 Reply Last reply Reply Quote 0
          • First post
            Last post