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

    [Solved] Change Q-Input underline color

    Framework
    1
    2
    577
    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.
    • S
      section14 last edited by Shone

      Is there a way to change the color of a Q-Input underline? I understand that color changes the color once it’s been entered, but that’s not what I’m after. I’ve tried to dig down, but I’m not even sure how this is being set.

      1 Reply Last reply Reply Quote 0
      • S
        section14 last edited by

        Okay, I figured it out. Solution is in the style tag:

         .q-if::before {
           background-color: black !important;
         }
        

        This kinda feels like a hack though. Will it break at some point after an update? underline-color on the component itself feels like the right way.

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