Skip to content

Cannot set null value to an object in DevTools for Pinia store #809

Open
@twisterniq

Description

@twisterniq

Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions