Skip to content

[Bug] Pasting number string into integer field results in NaN #12110

@linear

Description

@linear

Summary

When copying a number from formatted block output and pasting it into an integer input field on another block, the value is inserted as NaN even if the string is a valid number (e.g., "123").

Steps to Reproduce

  1. Run a block that outputs a number in formatted results
  2. Copy the number from the block output
  3. Paste into an integer input field on another block
  4. The field shows NaN instead of the number

Expected Behavior

Pasting a valid numeric string (e.g., "123") into an integer field should parse it as a number and accept the value.

To Investigate

  • Is this affecting all blocks or only specific ones?
  • Is this a frontend input validation/parsing issue?
  • Does this happen with all numeric types (int, float) or just integers?
  • Is the clipboard value being parsed incorrectly?

Source

Reported by Krzysztof in Discord #Tickets (2026-02-14)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions