Skip to content

[BUG] Clear current service state on browser "back" button press #933

@matKlju

Description

@matKlju

Bug description:

When creating a new service within the same browser session, the “Näidisküsimused / Service examples” field is automatically prefilled with examples from the last edited service.

The issue occurs specifically within a single session scope (no page refresh / no hard reload). Form state appears to persist between service instances.

Expected behavior:

Each new service must initialize with a completely clean configuration state within the same session.

  • No example questions carried over
  • No residual form state from previously edited services
  • Form model must reset on “Create new service”

Screenshots:
service A

Image

new service B

Image

Reproduction:

  1. Open existing service A
  2. Edit examples
  3. Navigate to “Create new service”
  4. Examples field contains values from service A

Metadata

Metadata

Labels

bugSomething isn't workingv3.2

Type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions