11 writes to CurrentValueAsString
Microsoft.AspNetCore.Components.Web (6)
Forms\InputDate.cs (1)
92
builder.AddAttribute(6, "onchange", EventCallback.Factory.CreateBinder<string?>(this, __value =>
CurrentValueAsString
= __value, CurrentValueAsString));
Forms\InputNumber.cs (1)
61
builder.AddAttribute(7, "onchange", EventCallback.Factory.CreateBinder<string?>(this, __value =>
CurrentValueAsString
= __value, CurrentValueAsString));
Forms\InputRadioGroup.cs (1)
38
var changeEventCallback = EventCallback.Factory.CreateBinder<string?>(this, __value =>
CurrentValueAsString
= __value, CurrentValueAsString);
Forms\InputSelect.cs (1)
56
builder.AddAttribute(8, "onchange", EventCallback.Factory.CreateBinder<string?>(this, __value =>
CurrentValueAsString
= __value, default));
Forms\InputText.cs (1)
39
builder.AddAttribute(5, "onchange", EventCallback.Factory.CreateBinder<string?>(this, __value =>
CurrentValueAsString
= __value, CurrentValueAsString));
Forms\InputTextArea.cs (1)
39
builder.AddAttribute(5, "onchange", EventCallback.Factory.CreateBinder<string?>(this, __value =>
CurrentValueAsString
= __value, CurrentValueAsString));
Microsoft.AspNetCore.Components.Web.Tests (5)
Forms\InputBaseTest.cs (1)
571
await InvokeAsync(() => { base.
CurrentValueAsString
= value; });
Forms\InputDateTest.cs (1)
65
await InvokeAsync(() => { base.
CurrentValueAsString
= value; });
Forms\InputNumberTest.cs (1)
117
await InvokeAsync(() => { base.
CurrentValueAsString
= value; });
Forms\InputSelectTest.cs (2)
240
set => base.
CurrentValueAsString
= value;
248
await InvokeAsync(() => { base.
CurrentValueAsString
= value; });
15 references to CurrentValueAsString
Microsoft.AspNetCore.Components.Web (13)
Forms\InputBase.cs (2)
165
/// Formats the value as a string. Derived classes can override this to determine the formatting used for <see cref="
CurrentValueAsString
"/>.
174
/// <see cref="
CurrentValueAsString
"/> interprets incoming values.
Forms\InputCheckbox.cs (1)
53
=> throw new NotSupportedException($"This component does not parse string inputs. Bind to the '{nameof(CurrentValue)}' property, not '{nameof(
CurrentValueAsString
)}'.");
Forms\InputDate.cs (2)
91
builder.AddAttribute(5, "value",
CurrentValueAsString
);
92
builder.AddAttribute(6, "onchange", EventCallback.Factory.CreateBinder<string?>(this, __value => CurrentValueAsString = __value,
CurrentValueAsString
));
Forms\InputNumber.cs (2)
60
builder.AddAttribute(6, "value",
CurrentValueAsString
);
61
builder.AddAttribute(7, "onchange", EventCallback.Factory.CreateBinder<string?>(this, __value => CurrentValueAsString = __value,
CurrentValueAsString
));
Forms\InputRadioGroup.cs (1)
38
var changeEventCallback = EventCallback.Factory.CreateBinder<string?>(this, __value => CurrentValueAsString = __value,
CurrentValueAsString
);
Forms\InputSelect.cs (1)
55
builder.AddAttribute(7, "value",
CurrentValueAsString
);
Forms\InputText.cs (2)
38
builder.AddAttribute(4, "value",
CurrentValueAsString
);
39
builder.AddAttribute(5, "onchange", EventCallback.Factory.CreateBinder<string?>(this, __value => CurrentValueAsString = __value,
CurrentValueAsString
));
Forms\InputTextArea.cs (2)
38
builder.AddAttribute(4, "value",
CurrentValueAsString
);
39
builder.AddAttribute(5, "onchange", EventCallback.Factory.CreateBinder<string?>(this, __value => CurrentValueAsString = __value,
CurrentValueAsString
));
Microsoft.AspNetCore.Components.Web.Tests (2)
Forms\InputBaseTest.cs (1)
549
get => base.
CurrentValueAsString
;
Forms\InputSelectTest.cs (1)
239
get => base.
CurrentValueAsString
;