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

[Wizard] Unregister EditForms in FluentWizardStep when DeferredLoading is enabled #3065

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

MarvinKlein1508
Copy link
Contributor

Pull Request

📖 Description

This PR fixes the EditForms functionality within the FluentWizardStep component when the DeferredLoading parameter is set to true.

The DeferredLoading parameter causes the component to create a new instance of all EditForm components within it each time the component is rendered. These EditForm instances are subsequently registered and invoked. This PR ensures that these EditForm instances are cleared when the user navigates away from the current step within the wizard.

🎫 Issues

#3014

✅ Checklist

General

  • I have added tests for my changes.
  • I have tested my changes.
  • I have updated the project documentation to reflect my changes.
  • I have read the CONTRIBUTING documentation and followed the standards for this project.

Component-specific

  • I have added a new component
  • I have added Unit Tests for my new component
  • I have modified an existing component
  • I have validated the Unit Tests for an existing component

@vnbaaij vnbaaij changed the title [FluentWizard] Unregister EditForms in FluentWizardStep when DeferredLoading is enabled [Wizard] Unregister EditForms in FluentWizardStep when DeferredLoading is enabled Dec 19, 2024
@vnbaaij vnbaaij merged commit 94a6757 into microsoft:dev Dec 19, 2024
4 checks passed
@MarvinKlein1508 MarvinKlein1508 deleted the fix-3014 branch December 19, 2024 11:09
@vnbaaij vnbaaij added this to the v4.11 milestone Dec 19, 2024
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

Successfully merging this pull request may close these issues.

2 participants