Skip to content

String Array Settings: Cannot empty field #78240

@chrisdias

Description

@chrisdias

Testing #77427

If I clear out the input field and press "Save", the edit is thrown away. I would expect that either an empty string is inserted into the array or the item is removed.

To repro:

  • add a new string array setting foo, press "OK" to commit it
  • now click on the pencil to edit the item foo. clear out all of the characters so the input field is empty, click on "OK" to save

Result: foo is reverted back into the input field.

Expect: Either the element is deleted or an empty string is persisted to the array. I don't know exactly which I prefer.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugsettings-editorVS Code settings editor issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions