mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
Fixes #80572: register correct default in JSON schema for enums
This commit is contained in:
@@ -863,7 +863,7 @@ class EditorEnumOption<K1 extends EditorOption, T extends string, V> extends Bas
|
||||
if (typeof schema !== 'undefined') {
|
||||
schema.type = 'string';
|
||||
schema.enum = allowedValues;
|
||||
schema.default = defaultValue;
|
||||
schema.default = defaultStringValue;
|
||||
}
|
||||
super(id, name, defaultValue, schema);
|
||||
this._allowedValues = allowedValues;
|
||||
|
||||
Reference in New Issue
Block a user