Skip to content

Unable to correct dropdown setting value by only pressing OK button #129070

@rzhao271

Description

@rzhao271

Testing #128429

I created the following setting:

"emmet.hmm": {
  "type": "object",
  "patternProperties": {
	"^#": {
	  "type": "string",
	  "description": "here here"
	}
  },
  "properties": {
	"la": {
	  "type": "string",
	  "enum": ["a", "b", "c"]
	},
	"lb": {
	  "type": "string",
	  "enum": ["b", "c", "d"]
	}
  },
  "additionalProperties": false,
  "default": {}
}

I then set in settings.json:

"emmet.hmm": {
  "la": "ab"
}

In the settings editor, I then wanted to change the value. I double clicked the row to edit it.

Expected: The value is rendered as a dropdown with the value "a", and pressing the OK button changes the value of the "la" prop to "a".
Actual: The value is rendered as a dropdown with the value "a", but pressing the OK button didn't change the value of the "la" prop to "a".

Note that it is fine if I change the dropdown to the value "b", and then back to the value "a", though.

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code Insiderssettings-editorVS Code settings editor issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions