feat(editor): Fix ResourceLocator dropdown style (#5714)

* fix(editor): Fix ResourceLocator dropdown style

* Fix other popper classes

* Fix app hanging if loading many remote parameter options

* Make ResourceLocatorDropdown flex

* Override scrollbar styles

* Hide resource locator on outside click not input blur
This commit is contained in:
OlegIvaniv
2023-03-22 15:36:10 +01:00
committed by GitHub
parent cc9fe7b91f
commit 02810a9ba3
5 changed files with 30 additions and 16 deletions

View File

@@ -787,10 +787,13 @@ export default mixins(
isSecretParameter(): boolean {
return this.getArgument('password') === true;
},
remoteParameterOptionsKeys(): string[] {
return (this.remoteParameterOptions || []).map((o) => o.name);
},
},
methods: {
isRemoteParameterOption(option: INodePropertyOptions) {
return this.remoteParameterOptions.map((o) => o.name).includes(option.name);
return this.remoteParameterOptionsKeys.includes(option.name);
},
credentialSelected(updateInformation: INodeUpdatePropertiesInformation) {
// Update the values on the node