-
Notifications
You must be signed in to change notification settings - Fork 27.9k
feat(editor): Support pasting an expression into a number parameter #15722
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
feat(editor): Support pasting an expression into a number parameter #15722
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cubic found 2 issues across 2 files. Review them in cubic.dev
React with 👍 or 👎 to teach cubic. Tag @cubic-dev-ai
to give specific feedback.
@@ -780,6 +780,15 @@ function onPaste(event: ClipboardEvent) { | |||
} | |||
} | |||
|
|||
function onPasteNumber(event: ClipboardEvent) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing event.preventDefault() after handling the paste event
Codecov ReportAttention: Patch coverage is
📢 Thoughts on this report? Let us know! |
Workflow Test Results 📊 🔴 2 Failed,
|
Workflow ID | Workflow Name | Reason |
---|---|---|
258 | Agent:auto-fix:openai | Workflow contains 2 deleted data. |
84 | Matrix:Room:create invite kick leave:RoomMember:ge... | Too Many Requests on node Matrix2 |
⚠️ Warnings (4)
Workflow ID | Workflow Name | Reason |
---|---|---|
237 | BasicLLMChain:AzureChat | Workflow contains new data that previously did not exist. |
35 | Slack:User:getPresence info:UserProfile:get update... | Workflow contains new data that previously did not exist. |
53 | ConvertKit:CustomField:create getAll update delete... | Workflow contains new data that previously did not exist. |
257 | Agent:auto-fix:anthropic | Workflow contains new data that previously did not exist. |
|
Summary
When pasting a string with expression syntax into a number input (example:
{{ $json.test }}
, switch to expression modeRelated Linear tickets, Github issues, and Community forum posts
https://linear.app/n8n/issue/NODE-2602/number-fields-arent-automatically-turned-to-expressions
Review / Merge checklist
release/backport
(if the PR is an urgent fix that needs to be backported)