Cannot set null value to an object in DevTools for Reactive object
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 279
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in the Chrome Vue.js DevTools extension with a Pinia store containing a reactive object whose value is null. Start by tracing the DevTools editor path for reactive object values, then verify that setting the selected value to null updates the store without errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100