Hey there! I’m writing a new node and trying to use a fixedcollection
in my credential’s properties.
It lets me setup a property with type fixedCollection
, but it doesn’t render properly. I’m trying to work out whether it’s something that I’m doing or if n8n’s just not setup to render those in credential properties.
It seems no other credential types use a fixedCollection
right now so I wouldn’t be surprised if it’s not setup.
Here’s the credential property that didn’t render properly:
{
displayName: 'Account Login',
name: 'accountLoginUi',
type: 'fixedCollection',
default: '',
typeOptions: {
multipleValues: true,
},
description: '',
displayOptions: {
hide: {
'saslType': [
'none',
],
},
},
options: [
{
displayName: 'Only connect if SASL is successful',
name: 'saslRequired',
type: 'boolean',
default: true,
description: "Require successful SASL login to connect to the network.",
},
{
displayName: 'Account Name',
name: 'saslAccountName',
type: 'string',
required: true,
default: '',
displayOptions: {
show: {
'saslType': [
'plain',
],
},
},
},
{
displayName: 'Account Password',
name: 'saslAccountPassword',
type: 'string',
required: true,
default: '',
typeOptions: {
password: true,
},
displayOptions: {
show: {
'saslType': [
'plain',
],
},
},
},
],
},