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

    option-value as a func don’t work after upgrade from 1.9.3 to 1.11.0

    Help
    2
    2
    50
    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.
    • I
      igolka97 last edited by igolka97

      So I have q select like that

      <q-select
       ref="sportsmanInput"
       v-model="newSportsmanId"
       use-input
       emit-value
       hide-selected
       :options="options"
       :option-label="item => item.something"
       :option-value="item => item.id"
       :option-disable="item => item.something"
       @input="submitToTable"
       @filter="filterFn"
      >
      

      After upgrading quasar :option-value="item => item.id" stop working. Other same options like :option-label or :option-disable still work. I tried to revert :option-value="item => item.id" to option-value="id" and it now working. Also i tried to downgrade back to 1.9.3, and option-value as a func start working again.

      Console error:

      TypeError: Cannot read property 'id' of undefined
          at VueComponent.option-value (myEntry.vue?2653:650)
      

      Really want to understand what happen.

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

        @igolka97 file a ticket at repo pls, thx.

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