Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QSelect option slot scoped values is wrong, if option is disabled #16567

Closed
FragsterAt opened this issue Nov 9, 2023 · 2 comments
Closed

QSelect option slot scoped values is wrong, if option is disabled #16567

FragsterAt opened this issue Nov 9, 2023 · 2 comments
Labels
area/components bug/1-repro-available A reproduction is available and needs to be confirmed. flavour/quasar-cli-vite kind/bug 🐞 Qv2 🔝 Quasar v2 issues

Comments

@FragsterAt
Copy link

FragsterAt commented Nov 9, 2023

What happened?

I want to "pin" some options in multiple q-select, it works fine with option 'disable' property, but if i want to use #option slot, scoped property selected is always false

изображение

What did you expect to happen?

Right value of selected scoped variable - if it is in v-model array - it must be true

Reproduction URL

https://codepen.io/FragsterAt/pen/VwgbKgj?editors=101

How to reproduce?

  1. Open reproduction url
  2. Open QSelect menu

Flavour

Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)

Areas

Components (quasar)

Platforms/Browsers

Firefox, Chrome

Quasar info output

Operating System - Windows_NT(10.0.19045) - win32/x64
NodeJs - 18.12.0

Global packages
  NPM - 8.19.2
  yarn - 3.2.4
  @quasar/cli - 1.3.2
  @quasar/icongenie - 2.5.4
  cordova - Not installed

Important local packages
  quasar - 2.12.7 -- Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time
  @quasar/app-vite - 1.6.2 -- Quasar Framework App CLI with Vite
  @quasar/extras - 1.16.7 -- Quasar Framework fonts, icons and animations
  eslint-plugin-quasar - Not installed
  vue - 3.3.4 -- The progressive JavaScript framework for building modern web UI.
  vue-router - 4.2.5
  pinia - 2.1.6 -- Intuitive, type safe and flexible Store for Vue
  vuex - Not installed
  vite - 2.9.16 -- Native-ESM powered web dev build tool
  eslint - 8.50.0 -- An AST-based pattern checker for JavaScript.
  electron - Not installed
  electron-packager - Not installed
  electron-builder - Not installed
  register-service-worker - 1.7.2 -- Script for registering service worker, with hooks
  @capacitor/core - Not installed
  @capacitor/cli - Not installed
  @capacitor/android - Not installed
  @capacitor/ios - Not installed

Quasar App Extensions
  *None installed*

Relevant log output

No response

Additional context

No response

@FragsterAt FragsterAt added kind/bug 🐞 Qv2 🔝 Quasar v2 issues labels Nov 9, 2023
@github-actions github-actions bot added area/components bug/1-repro-available A reproduction is available and needs to be confirmed. flavour/quasar-cli-vite labels Nov 9, 2023
@pdanpdan
Copy link
Collaborator

pdanpdan commented Nov 9, 2023

Ups, you are right

@rstoenescu
Copy link
Member

Thank you for reporting!
Fix will be available in Quasar v2.14.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/components bug/1-repro-available A reproduction is available and needs to be confirmed. flavour/quasar-cli-vite kind/bug 🐞 Qv2 🔝 Quasar v2 issues
Projects
None yet
Development

No branches or pull requests

3 participants