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
    1. Home
    2. Paxton
    P
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 0
    • Groups 0

    Paxton

    @Paxton

    0
    Reputation
    1
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Paxton Follow

    Latest posts made by Paxton

    • RE: How to render option values as HTML for q-option-group?

      Damn I was afraid of that. Was hoping there was a way. Thanks for the help!

      posted in Help
      P
      Paxton
    • How to render option values as HTML for q-option-group?

      Hello,

      I have a q-option group that holds a dynamic set of values:

      <div>
        <q-option-group
           v-model="group"
           :options="options"
           color="primary"
        ></q-option-group>
      </div>
      

      And the values are populated like:

      let questionAnswers = this.currentQuestion.Answers
         this.options = []
         for (const [i,v] of questionAnswers.entries()) {
         this.options.push({label: v, value: String(i)})
      }
      

      The problem is that some of the values have html inside the string. Is there a way I can get the q-option-group to render options as html?

      Thanks in advance.

      posted in Help
      P
      Paxton