question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] When you enter a wrong value multiple times in a field, the error message repeats.

See original GitHub issue

When you enter a wrong value multiple times in a field, the error message repeats every time you try to submit the form.

When you then enter a new wrong value in another field and press submit, only that error message is displayed, but when you submit the form again, without changing anything so pressing submit twice, the others become visible again.

WASM Client Side 3.2.0 Preview 2 Visual Studio 16.6.0. Preview 1 .NET SDK 5.0 Preview 1 Edge Dev (Chromium) Browser

Form code:

<EditForm EditContext="@editContext" OnValidSubmit="HandleValidSubmit" OnInvalidSubmit="HandleInValidSubmit">
    <FluentValidationValidator />
    <ValidationSummary style="@displaySummary" />

Screenshot

Annotation 2020-03-20 141027

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
chrissaintycommented, Apr 16, 2020

That’s good news. There must have been some kind of bug somewhere in Blazor that was causing this. As it’s resolved I’m going to close this issue.

1reaction
chrissaintycommented, Apr 16, 2020

Thanks for the extra info @JeepNL and please don’t apologise, your English is fantastic! 🙂

I’ll grab that sample and run things through and see if I can spot a problem somewhere.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Help: Text duplicates in all form fields
Solved: When filling in the PDF form fields (of the PDF fillable form that I created), the text duplicates into every other field...
Read more >
error message repeat multiple time - bootstrap and jQuery ...
Everything works fine except for the fact that the error message are repeat every time the user click on a field. I check...
Read more >
Error 'Duplicate values' error on adding a picklist value to ...
Duplicate values error can occur when the value was previously deleted from the field or in a sandbox as a result of the...
Read more >
How to Troubleshoot and Fix Excel Pivot Table Errors
How to troubleshoot and fix Excel pivot table errors, such as PivotTable field name is not valid. Find the problem, and fix it....
Read more >
How to debug the mysterious "duplicate value found ...
This post has provided a framework for debugging this type of error, whether it came from a DML or a metadata deployment operation....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found