Blazored / FluentValidation

A library for using FluentValidation with Blazor
https://blazored.github.io/FluentValidation/
MIT License
588 stars 84 forks source link

MudTextField fires EditContext.OnFieldChanged when the field hasn't changed #120

Closed johndhunter closed 2 years ago

johndhunter commented 2 years ago

Describe the bug When tabbing away from a MudTextField within an EditForrm without changing the value in the field, a FIeldChanged event is fired on the EditForm. This sets the EditForm.IsModified to true - which it shouldn't.

See gist here https://github.com/johndhunter/mudGist

Expected behavior No field changed event should be fired if the field hasn't changed

Note This is unrelated to the use of Fluentvalidation - i.e. if the FluentValidationValidator is commented out in the referenced gist, it still occurs

johndhunter commented 2 years ago

Sorry - wrong project - don't why I landed here