🔀 Merge branch 'ha-load-options' of https://github.com/pemontto/n8n into pemontto-ha-load-options

This commit is contained in:
Jan Oberhauser
2021-12-11 17:54:20 +01:00
5 changed files with 95 additions and 8 deletions

View File

@@ -83,7 +83,10 @@ export const serviceFields: INodeProperties[] = [
{
displayName: 'Domain',
name: 'domain',
type: 'string',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getDomains',
},
default: '',
required: true,
displayOptions: {
@@ -100,7 +103,13 @@ export const serviceFields: INodeProperties[] = [
{
displayName: 'Service',
name: 'service',
type: 'string',
type: 'options',
typeOptions: {
loadOptionsDependsOn: [
'domain',
],
loadOptionsMethod: 'getDomainServices',
},
default: '',
required: true,
displayOptions: {