Skip to content

Users can undo changes on forms that are collapsed #1828

@travjenkins

Description

@travjenkins

Bug
In the create/edit flows we collapse sections. If this happens we do not force the focus out of an input that is contained within the section.

This means while the field is hidden the user could hit ctrl+z and undo changes without knowing it

Expected
When a section is collapsed we should ensure inputs cannot have undo done on them

Screenshots
Include a screenshot of what you saw when the bug happened.

Desktop (please complete the following information):
Testing on Linux Chrome - not sure about others

Additional context
This might be hard to prevent as when it is collapsed you can hit tab, type something, etc. and it does NOT interact with the field. So it seems this is mainly just undo and redo browser implementation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions