Skip to content

fix(admin-ui): incorrect Cancel Button Behavior in Configuration Pages #2268

@ossdhaval

Description

@ossdhaval

Summary:

  • The Cancel button in configuration pages (e.g., FIDO Configuration) incorrectly navigates to the previous module instead of resetting unsaved changes.

- Steps to Reproduce:

  • Log in to the Admin UI.
  • Navigate to FIDO → Configuration.
  • Change one of the configuration field values.
  • Click Cancel.

Expected Behavior:

  • The Cancel button should be disabled until a change is made.
  • The Cancel button should reset all fields back to their last saved values.
  • It should not navigate away from the module.

Actual Behavior:

  • Clicking Cancel navigates back to the previous module.
  • Values are not reset.
  • Button is always clickable, even when no changes are made.
admin-ui-cancel-issue.webm

Metadata

Metadata

Labels

comp-admin-uiComponent affected by issue or PRkind-bugIssue or PR is a bug in existing functionality

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions