devtools
devtools copied to clipboard
Cannot set null value to an object in DevTools for Pinia store
I'm trying to set null value to an object that I have in Pinia store, defined as:
/** @type {{ from: string; to: string | null; } | null} */
selectedPendingDate: null,
DevTools does not allow me to change it to null, just nothing happens. No errors in console. I've tried to click enter and also to click the icon shown in the screenshot.
Chrome extension Vue.js devtools v7.7.0. Pinia ^3.0.1
It seems like it just has to be a Reactive object, it doesn't matter if it's in Pinia or not.
Error in console: