1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 05:19:39 +02:00

fix(codemirror): optimize the autocompletion performance R8S-294 (#650)

Co-authored-by: andres-portainer <andres-portainer@users.noreply.github.com>
This commit is contained in:
andres-portainer 2025-04-15 21:27:30 -03:00 committed by GitHub
parent bfa55f8c67
commit 66dee6fd06

View file

@ -122,6 +122,9 @@ function schemaValidationExtensions(schema: JSONSchema7) {
if (Array.isArray(completions)) {
return null;
}
completions.validFor = /^\w*$/;
return completions;
},
],