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

globalState does not rerender automatically; requires an action to refresh on buttonGroup and custom buttons #2494

Open
hlayisanimazuze opened this issue Dec 3, 2024 · 1 comment
Assignees
Labels
bug Something isn't working urgent

Comments

@hlayisanimazuze
Copy link
Collaborator

hlayisanimazuze commented Dec 3, 2024

Use Case 1: Updating Visibility/Edit Mode via Global State
Steps to Reproduce:

  • Update the edit mode or hidden state of a button based on the global state/data set by another button.
  • Observe the console output for the arguments of the second button.
  • Notice that the console output does not trigger.
  • As a result, the component does not behave as expected after setting the global state.
  1. Go to: https://functional-adminportal-test.azurewebsites.net/dynamic/TestModule/globalState-view?mode=edit
  2. Click on 'Execute' button
  3. Actual Results: The edit mode and hidden button states are not updated
  4. Check the checkbox
  5. Actual Results: The buttons gets updated when there is a form change

Expected Results
The buttonGroup state should be triggered immediately

@hlayisanimazuze
Copy link
Collaborator Author

Hi @AlexStepantsov, I still need to update the links before you can work on the item. Still wrapping up release/40, I will update once I am done

@hlayisanimazuze hlayisanimazuze changed the title globalState does not rerender automatically; requires an action to refresh on custom buttons globalState does not rerender automatically; requires an action to refresh on buttonGroup and custom buttons Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working urgent
Projects
None yet
Development

No branches or pull requests

2 participants