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 : bg-color and readonly - bg-color

    Help
    2
    3
    346
    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.
    • I
      iklemm last edited by iklemm

      I have two simple problems but find no answer:

      1.) If i set a q-input to readonly it automatically gets grey, which is fine.
      Question: where can i set (globally) this bg color for readonly/disabled q-inputs?

      2.) If i set a bg-color to a q-input, the color is NOT changing any more after q-input is set to readonly. So bg-color is overwriting readonly-color.
      How to fix this?

      thanx in advance!

      dobbel 1 Reply Last reply Reply Quote 0
      • dobbel
        dobbel @iklemm last edited by

        @iklemm said in q-input : bg-color and readonly - bg-color:

        1.) If i set a q-input to readonly it automatically gets grey, which is fine.

        Question: where can i set (globally) this bg color for readonly/disabled q-inputs?

        You can set/overrule global style in the src/css/app.sass file.

        2.) If i set a bg-color to a q-input, the color is NOT changing any more after q-input is set to readonly. So bg-color is overwriting readonly-color.

        https://codepen.io/ontwikkelfabriek/pen/yLJxXpx

        I 1 Reply Last reply Reply Quote 0
        • I
          iklemm @dobbel last edited by iklemm

          @dobbel
          not working if you give q-input a bg-color. see 2.)

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