fix(HTML Node): Update property fields to not use expressions on drag (#7379)

When dragging an expression into a "binary property" or "json property"
field we should use the key name rather than the expression.
This commit is contained in:
Jon 2023-10-09 10:23:46 +01:00 committed by GitHub
parent a43f720658
commit 77643e5ccb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -115,6 +115,7 @@ export class Html implements INodeType {
displayName: 'Binary Property', displayName: 'Binary Property',
name: 'dataPropertyName', name: 'dataPropertyName',
type: 'string', type: 'string',
requiresDataPath: 'single',
displayOptions: { displayOptions: {
show: { show: {
operation: ['extractHtmlContent'], operation: ['extractHtmlContent'],
@ -130,6 +131,7 @@ export class Html implements INodeType {
displayName: 'JSON Property', displayName: 'JSON Property',
name: 'dataPropertyName', name: 'dataPropertyName',
type: 'string', type: 'string',
requiresDataPath: 'single',
displayOptions: { displayOptions: {
show: { show: {
operation: ['extractHtmlContent'], operation: ['extractHtmlContent'],