feat: Filter parameter: Improve loose type validation for booleans (#10702)
This commit is contained in:
@@ -50,7 +50,7 @@ export class SwitchV3 implements INodeType {
|
||||
this.description = {
|
||||
...baseDescription,
|
||||
subtitle: `=mode: {{(${capitalize})($parameter["mode"])}}`,
|
||||
version: [3, 3.1],
|
||||
version: [3, 3.1, 3.2],
|
||||
defaults: {
|
||||
name: 'Switch',
|
||||
color: '#506000',
|
||||
@@ -160,6 +160,7 @@ export class SwitchV3 implements INodeType {
|
||||
filter: {
|
||||
caseSensitive: '={{!$parameter.options.ignoreCase}}',
|
||||
typeValidation: getTypeValidationStrictness(3.1),
|
||||
version: '={{ $nodeVersion >= 3.2 ? 2 : 1 }}',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user