chanan / BlazorStrap

Bootstrap 4 Components for Blazor Framework
https://blazorstrap.io
The Unlicense
910 stars 156 forks source link

Question: NotifyFieldChanged in BlazorStrapInputBase #608

Open EMaderbacher opened 6 months ago

EMaderbacher commented 6 months ago

What is the purpose of NotifyFieldChanged at https://github.com/chanan/BlazorStrap/blob/610cef351fb7de5a78aec71064a521588e7a7ff1/src/BlazorStrap/Shared/Components/Forms/BlazorStrapInputBase.cs#L153C17-L153C75? In my case EditContext.IsModified() returns true after I'm running EditContext.Validate(), even when no value has been changed

jbomhold3 commented 4 months ago

Validate modifies the field it sets as valid or invalid. even if no data is entered