Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Page Management - Edit: When saving and there is an error, the Settings tab is selected but teh tab panel is not updating the UI. #4778

Open
thabaum opened this issue Oct 24, 2024 · 0 comments

Comments

@thabaum
Copy link
Contributor

thabaum commented Oct 24, 2024

Oqtane Info

Version - 6.0.0
Render Mode - Static
Interactivity - Server
Database - SQL Server

Description

When attempting to save changes within a module (edit page settings), if an error occurs, the "Settings" tab becomes selected, but the corresponding tab panel does not update to reflect the latest user inputs. This leads to user confusion, as they see the "Settings" tab highlighted but the content remains unchanged.

Steps to Reproduce

  1. Navigate to the module with tabbed settings. (Control Panel > Edit Page)
  2. Make changes to the "Settings" input fields that create an error. (blank page name)
  3. Change tabs to "Permissions" tab.
  4. Attempt to save the changes.
  5. Observe that the "Settings" tab is selected after the error, but the content in the UI for that tab does not refresh.

Expected Behavior

  • After encountering a save error, the "Settings" tab should display the most recent input values from the user.
  • The tab panel should refresh to show the updated state of the inputs, even if a save error occurs.

Actual Behavior

  • The "Settings" tab appears active, but the tab panel retains the previous tab input instead of reflecting the current state.

Anything else?

Also notice the 2 tab strip tab panels information when you switch from the "Settings" to "Theme Settings" for example.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant