Skip to content

[bug]: When editing the Upload sample output data in JSON, selection shifts to the end of the content on key down #3277

@petrapaz

Description

@petrapaz

Describe the bug

When I try to upload sample output data in JSON format in a node, there is a problem when typing into second string.

screen-capture.webm

Steps To Reproduce

  1. Go to projects (if you don't have one - create new)
  2. Click + to add new node
  3. Choose Open AI (or other node)
  4. On right side of the screen you should see Output segment - click on it
  5. Click Define -> Upload Sample Output Data
  6. Try writing something like:
    {
    "message" : "My name is ..."
    }

Expected behavior

When trying to write JSON format file, every time you type something inside second string -> program 'breaks' you out of that string and leaves you outside curly brackets.

Version

latest

OS

Windows 11

Browser

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfrontendConcerning any and all frontend issues

    Type

    Projects

    Status

    V 0.11

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions