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)
58
Assert.True(editContext.
IsModified
(fieldOnThisModel1));
59
Assert.False(editContext.
IsModified
(fieldOnThisModel2));
60
Assert.True(editContext.
IsModified
(fieldOnOtherModel));
80
Assert.False(editContext.
IsModified
(fieldThatWasModified));
81
Assert.True(editContext.
IsModified
(fieldThatRemainsModified));
82
Assert.False(editContext.
IsModified
(fieldThatWasNeverModified));
100
Assert.False(editContext.
IsModified
(field1));
101
Assert.False(editContext.
IsModified
(field2));
266
Assert.True(editContext.
IsModified
(editContext.Field(nameof(EquatableModel.Property))));
Microsoft.AspNetCore.Components.Web (1)
Forms\FieldCssClassProvider.cs (1)
25
if (editContext.
IsModified
(fieldIdentifier))
Microsoft.AspNetCore.Components.Web.Tests (3)
Forms\InputBaseTest.cs (3)
300
Assert.True(rootComponent.EditContext.
IsModified
(fieldIdentifier));
325
Assert.True(rootComponent.EditContext.
IsModified
(fieldIdentifier));
335
Assert.True(rootComponent.EditContext.
IsModified
(fieldIdentifier));