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

    Disable q-select option

    Help
    2
    3
    345
    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.
    • abdulakhad
      abdulakhad last edited by

      hello everyone
      i have one <q-select> with array options
      how can i add disable: true or inactive:true option value

      my_array_options {
          "Color" : ["Black", "White", "Blue"],
          "Storage Capacity": ["32GB", "64GB"]
      }
      
      <q-select
              v-for="(items, index) in my_array_options"
              :key="index"
              v-model="selected[index]"
              :prefix="index + ' :'"
              :options="my_array_options[index]"
           />
      

      my select
      c3437677-08a2-4765-b4b3-21fb774227f1-изображение.png

      i want
      59b58751-ec40-46d3-a306-bdf5cd0a3a42-изображение.png

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

        @abdulakhad use an object array same as the exanple in the docs.

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

          Can’t it be used in this case?

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