nuxt / ui

A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.
https://ui.nuxt.com
MIT License
3.4k stars 374 forks source link

UTable "select all" checkbox throws "event.target is undefined" error #1738

Closed ge0dem0 closed 1 week ago

ge0dem0 commented 2 weeks ago

Description

Hi, maybe somebody came across this error. I'm loading the UTable with a ref() from an async API request. I'm able to select each row manually and the "select all" checkbox gets into the intermediate state. So far so good. But if I want to select all rows it throws this error: "Uncaught TypeError: can't access property "checked", event.target is undefined".

I'm grateful for any ideas or hints 🙏

benjamincanac commented 1 week ago

What version of @nuxt/ui are you using? This should have been fixed in #1580 already and released in https://github.com/nuxt/ui/releases/tag/v2.15.1.

ge0dem0 commented 1 week ago

Such a rookie mistake 🤦‍♂️ Sorry for wasting your time, bro.

ge0dem0 commented 1 week ago

Updating to the lastest version did the trick