Navigation

    Quasar Framework

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

    q-btn :loading prop kills :disable prop

    Framework
    4
    5
    155
    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
      supercat last edited by

      When a condition that makes :disabled work is true after :loading prop has run it no longer makes the button disabled, please see this pen… https://codepen.io/anon/pen/GaOVBX?&editable=true&editors=101

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

        @supercat disabled is native attribute, use disable props.

        1 Reply Last reply Reply Quote 0
        • s.molinari
          s.molinari last edited by s.molinari

          Oh god. That was the problem? This is the second time I’ve missed that. 🙂

          Scott

          1 Reply Last reply Reply Quote 0
          • rstoenescu
            rstoenescu Admin last edited by

            @supercat All props regarding this in Quasar are called disable, so it’s easy to remember. There’s no disabled nor will ever be. In your case, disabled is not recognized as a prop so it’s attached as an HTML attribute, which has meaning to Quasar’s CSS. But the correct prop is disable.

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

              Thanks everyone for the great support as always!

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