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

    :rules props ! different color on error

    Help
    2
    3
    234
    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.
    • R
      robin.x85 last edited by

      Hi All,

      Is there any way we can change the color when the validation fails through :rules props. By default the color is red on fail.
      Please Help me out if you know the solution.

      Thank you

      metalsadman 1 Reply Last reply Reply Quote 0
      • metalsadman
        metalsadman @robin.x85 last edited by metalsadman

        @robin-x85 it’s using the color set by css variable $negative, see the docs about theming on how. https://quasar.dev/style/theme-builder#Theme-Builder or override the css (inspect see classes) if you want the effect only in that page.

        1 Reply Last reply Reply Quote 0
        • R
          robin.x85 last edited by

          Thank you so much again for helping out

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