isDeepEqual crashes while comparing Sets #15248
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
What happened?
This problem started after adding a "Set" attribute to an object used in a q-select with remote filter for refresh. After the first selection, an exception will be thrown the next time the select is open.
This happens in isDeepEqual method that does not support Set correctly (it's trying to call a non existing "next" from a single entry instead of the original entries).
What did you expect to happen?
The select should open normally.
Reproduction URL
https://codepen.io/alberto-i/pen/WNKpyvB
How to reproduce?
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Components (quasar)
Platforms/Browsers
Firefox, Chrome, Safari, Microsoft Edge, iOS, Android, Electron, Other
Quasar info output
Relevant log output
Additional context
This is the relevant code that throws the exception:
From /ui/src/utils/is.js
The text was updated successfully, but these errors were encountered: