mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 12:44:07 -08:00
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:
parent
a43f720658
commit
77643e5ccb
|
@ -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'],
|
||||||
|
|
Loading…
Reference in a new issue