mirror of https://github.com/portainer/portainer
fix(codemirror): optimize the autocompletion performance R8S-294 (#650)
Co-authored-by: andres-portainer <andres-portainer@users.noreply.github.com>pull/6081/merge
parent
bfa55f8c67
commit
66dee6fd06
|
@ -122,6 +122,9 @@ function schemaValidationExtensions(schema: JSONSchema7) {
|
|||
if (Array.isArray(completions)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
completions.validFor = /^\w*$/;
|
||||
|
||||
return completions;
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue