Skip to content

[Bug] no update when set value undefined #5119

@Galileo01

Description

@Galileo01

Reproducible in vscode.dev or in VS Code Desktop?

  • Not reproducible in vscode.dev or VS Code Desktop

Reproducible in the monaco editor playground?

Monaco Editor Playground Link

when set value prop to undefined,editor can`t update

Monaco Editor Playground Code

Reproduction Steps

sandbox :https://codesandbox.io/p/sandbox/onchange-forked-328w8z?file=%2Fsrc%2FApp.js
click ' set undefined' button

Actual (Problematic) Behavior

without any actions

Expected Behavior

editor clear

Additional Context

No response

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