vuetify icon indicating copy to clipboard operation
vuetify copied to clipboard

[Bug Report][3.5.7] Error `too much recursion` for recursive item values

Open Revadike opened this issue 1 year ago • 1 comments

Environment

Vuetify Version: 3.5.7 Vue Version: 3.4.21 Browsers: Firefox 123.0 OS: Windows 10

Steps to reproduce

  1. Select recursive item
  2. Clear the selected item
  3. Observe 'too much recursion' error

Expected Behavior

Instead of throwing an error, function as expected.

Actual Behavior

Throws 'too much recursion' error

Reproduction Link

https://play.vuetifyjs.com/#...

Other comments

We work a lot with firestore DocumentReference objects, which are recursive. It would be very helpful if it was possible that these can be handled correctly by vuetify, instead of having to come up with a workaround ourselves every time. Thank you!

Revadike avatar Mar 03 '24 15:03 Revadike

Related: #20278

KaelWD avatar Aug 16 '24 10:08 KaelWD

Seems to work fine after adding return-object.

J-Sek avatar Sep 01 '24 13:09 J-Sek

Seems to work fine after adding return-object.

There are several workarounds, but I'd like it to work without any issues.

Revadike avatar Sep 01 '24 13:09 Revadike

Theoretically we could enhance deepEquals with decycle... if it feels like a welcome improvement for maintainers.

J-Sek avatar Sep 01 '24 16:09 J-Sek