-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
under-discussionIssue is under discussion for relevance, priority, approachIssue is under discussion for relevance, priority, approach
Milestone
Description
- VS Code Version: Current
- OS Version: MacOS Ventura
Undefined and null values are not properly handled. When an undefined value is passed in Monaco, the textModel will call factory.create on an undefined value which will throw an undefined error.
Also, if a null value is passed, since the logic returns without updating the value, the previous data will still be displayed.
Solution here: microsoft/vscode#165721
Steps to Reproduce:
- Update the data to undefined or null once the Monaco editor is already mounted.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
under-discussionIssue is under discussion for relevance, priority, approachIssue is under discussion for relevance, priority, approach