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



  • 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.



  • @igolka97 file a ticket at repo pls, thx.


Log in to reply