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

    q-select not displaying drop down

    Help
    dropdown issue list q-select
    1
    1
    218
    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.
    • R
      Rohit last edited by Rohit

      Template code:
      <template>
      <q-select
      filled
      label=“Select Tags”
      v-model=“selectedTags”
      multiple
      :options=“tagsList”
      emit-value
      map-options
      @change=“filterTips”
      style=“width: 250px”
      />
      </template>

      & my computed property

       tagsList() {
       //this.tags is getting data from getter.js
        let result = [];      
        this.tags.forEach(tag=>{
          result.push({ label: tag.name, value: tag.tags_id });
        });
        //  result = list.map(tag => ({ label: tag.name, value: tag.tags_id }));
        console.log(result);
        return result;
      },
      

      & console.log(result) is giving me this

      (3) [{…}, {…}, {…}]
      0: {label: "First ", value: “1”}
      1: {label: “Second”, value: “2”}
      2: {label: “Third”, value: “3”}
      length: 3
      proto: Array(0)

      can anyone help me with this
      Thanks

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