14 references to IsModified
Microsoft.AspNetCore.Components.Forms (1)
EditContext.cs (1)
196=> IsModified(FieldIdentifier.Create(accessor));
Microsoft.AspNetCore.Components.Forms.Tests (9)
EditContextTest.cs (9)
58Assert.True(editContext.IsModified(fieldOnThisModel1)); 59Assert.False(editContext.IsModified(fieldOnThisModel2)); 60Assert.True(editContext.IsModified(fieldOnOtherModel)); 80Assert.False(editContext.IsModified(fieldThatWasModified)); 81Assert.True(editContext.IsModified(fieldThatRemainsModified)); 82Assert.False(editContext.IsModified(fieldThatWasNeverModified)); 100Assert.False(editContext.IsModified(field1)); 101Assert.False(editContext.IsModified(field2)); 266Assert.True(editContext.IsModified(editContext.Field(nameof(EquatableModel.Property))));
Microsoft.AspNetCore.Components.Web (1)
Forms\FieldCssClassProvider.cs (1)
25if (editContext.IsModified(fieldIdentifier))
Microsoft.AspNetCore.Components.Web.Tests (3)
Forms\InputBaseTest.cs (3)
300Assert.True(rootComponent.EditContext.IsModified(fieldIdentifier)); 325Assert.True(rootComponent.EditContext.IsModified(fieldIdentifier)); 335Assert.True(rootComponent.EditContext.IsModified(fieldIdentifier));