OpenFn / OpenFn/lightning

Undo/Redo not working when form input is in focus

Open
#3,543 0 comments 0 reactions 1 assignee View on GitHub

@doc-han is already working on this.

Since Aug 22, 2025.

bug
Dominant language
Elixir
Stars
296
Forks
86
Avg merge
1d 13h
Merged PRs (30d)
50

Description

Describe the bug A clear and concise description of what the bug is.

When you update the content of a form input and try to undo your changes while the input is still in focus, the undo change doesn't take effect in the focused input.

Image

Version number The version of Lightning you have seen the bug on.

If you're running on a tagged version, include the number: vX.Y.Z

If you're running locally with an unreleased version, the commit sha: 84b1bdc

I have reproduced this locally on main:

  • Yes
  • No

To Reproduce Steps to reproduce the behavior:

  1. Go to a workflow
  2. Select a nod
  3. update the name using the Job Editor panel on the right
  4. While the input is still in focus. use Ctrl+Z to try undoing your changes.
  5. It doesn't take effect in the focused input

Expected behavior A clear and concise description of what you expected to
happen.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.