10 references to
Microsoft.AspNetCore.Components.Forms (2)
FieldState.cs (1)
29
foreach (var message in store
[
_fieldIdentifier])
ValidationMessageStore.cs (1)
75
=> this
[
FieldIdentifier.Create(accessor)];
Microsoft.AspNetCore.Components.Forms.Tests (8)
ValidationMessageStoreTest.cs (8)
36
Assert.Equal(new[] { "Field 1 message 1", "Field 1 message 2" }, messages
[
field1]);
37
Assert.Equal(new[] { "Field 2 message 1" }, messages
[
field2]);
38
Assert.Empty(messages
[
field3]);
53
Assert.Equal(entries, messages
[
field1]);
71
Assert.Empty(messages
[
field1]);
72
Assert.Equal(new[] { "Field 2 message 1" }, messages
[
field2]);
89
Assert.Empty(messages
[
field1]);
90
Assert.Empty(messages
[
field2]);