fix: OnSubmit is not called in FluentWizard
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 57/100
Research direction
Start by reading the FluentWizard and EditForm integration, then use the attached FluentWizardTest.zip reproduction to trace what happens when Next is pressed in step 1. Confirm whether EditForm's OnSubmit callback runs and compare that with validation in step 2; done means OnSubmit is called on Next so custom validation can control EditContext.Validate.
Written by the indexing model from the issue text.
Description
🐛 Bug Report
When using a FluentWizard in FluentUI v5, the OnSubmit method of the EditForm component is never called.
💻 Repro or Code Sample
- Open the attached project and run it
- Try to fill in "Invalid" into the
Namefield - In step 1 the wizard continues (using
OnSubmit) - In step 2 the wizard actually validates the input (using
OnValidationRequested)
🤔 Expected Behavior
OnSubmit should be called when pressing next in the first step so I can more easily add custom validation and have control over the EditContext.Validate method
😯 Current Behavior
The EventCallback linked to OnSubmit is never called.
💁 Possible Solution
🔦 Context
I'm trying to update my Blazor portal from FluentUI v4 to v5
🌍 Your Environment
- OS & Device: Windows on PC
- Browser: Microsoft Edge
- .NET and Fluent UI Blazor library Version 10.0.401 & 5.0.1
- Dominant language
- C#
- Stars
- 4.9k
- Forks
- 497
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 47
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/fluentui-blazor
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
microsoft/fluentui-blazor#5688 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
microsoft/fluentui-blazor#5687 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
microsoft/fluentui-blazor#5684 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
microsoft/fluentui-blazor#5683 ·
Maintainers usually reply within 1 day
-
[FluentNumberInput ]: Screen reader does not announce the Spin Button role for the NumericType spin edit boxPossibly taken @vnbaaij claimed this 4 days ago. Opena11y A11yMAS A11ySev2 FluentUIBlazor_Web MAS4.1.2
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
microsoft/fluentui-blazor#5533 ·
Maintainers usually reply within 1 day
All issues in microsoft/fluentui-blazor
Similar issues
-
In-car displays show 0 km/h and P while the AV drivesPossibly taken @bazilinskyy claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
bazilinskyy/coupled-sim#366 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
BaryoDev/umbraco-pwa#196 ·
Maintainers usually reply within 1 day
-
bug flaky lsp-transport small
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
OpenTelemetryChatClient records gen_ai.response.finish_reasons as a JSON string instead of string[]Openarea-ai bug untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
dotnet/extensions#7995 ·
Maintainers usually reply within 1 day