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

[FluentWizard] Fix ValueChanged never trigerred in FluentWizard #1538

Merged
merged 1 commit into from
Feb 19, 2024

Conversation

dvoituron
Copy link
Collaborator

[FluentWizard] Fix ValueChanged never trigerred in FluentWizard

To fix #1534 detected by @ejalbertinfoej (Thanks).

Issue

Using the sample demo code, we have this code:

@code
{
    int Value = 0;
}

<FluentWizard Id="customized-wizard"
              @bind-Value="@Value"
              StepTitleHiddenWhen="@GridItemHidden.XsAndDown"
              Height="300px">

When clicking Next button in the wizard, the Value stays at 0. The ValueChanged callback method is never called.

Solution

  1. Adding the fix.
  2. Adding Unit Test to verify this case.

@dvoituron dvoituron merged commit dacd217 into dev Feb 19, 2024
4 checks passed
@dvoituron dvoituron deleted the users/dvoituron/fix-wizard-bind-value branch February 19, 2024 11:45
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.

ValueChanged never trigerred in FluentWizard
1 participant