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

    How to change checked icon on `q-option-group`

    Framework
    2
    4
    981
    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.
    • T
      toymachiner62 last edited by

      I want to change the checked-icon on a q-option-group https://quasar-framework.org/components/option-group.html

      I can successfully do this with q-radio via the checked-icon attribute https://quasar-framework.org/components/radio.html#Vue-Properties, but this attribute does not exist for a q-option-group.

      How can I achieve this?

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

        You mean like this?

        https://jsfiddle.net/smolinari/4ctLaupz/

        Scott

        1 Reply Last reply Reply Quote 1
        • T
          toymachiner62 last edited by toymachiner62

          Seems to be what i’m looking for. I was not aware of this.$q.icon.radio.checked[this.$q.theme] = 'check_circle' `. Is this documented somewhere?

          Also any plans to add the checked-icon and unchecked-icon to the q-option-group similarly to how it’s available on q-radio?

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

            @toymachiner62 said in How to change checked icon on `q-option-group`:

            Is this documented somewhere?

            No. I got it from the source code. 🙂

            Also any plans to add the checked-icon and unchecked-icon to the q-option-group similarly to how it’s available on q-radio?

            If you’d like, please make a suggestion on Github.

            https://github.com/quasarframework/quasar/issues/new

            Scott

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