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

    Label inside toggle.

    Help
    3
    6
    214
    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
      lazaroofarrill last edited by

      Is it possible to place the label inside the toggle component instead of in the outside.

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

        @lazaroofarrill

        The label is technically already inside the q-toggle but I quess you want it inside the switch part? How do you visualize this, could you give an example?

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

          @dobbel this was my original implementation in plain Vue, but I wanted something that felt more native to the framework.

          https://codepen.io/lazaroofarrill/pen/LYbywpG

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

            @lazaroofarrill

            that’s not possible in the current quasar toggle.

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

              @dobbel ok thanks

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

                @lazaroofarrill ootb no, though you can hack it with css, something like content and add or replace the class depending on the v-model state.

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