11 writes to CurrentValueAsString
Microsoft.AspNetCore.Components.Web (6)
Forms\InputDate.cs (1)
92builder.AddAttribute(6, "onchange", EventCallback.Factory.CreateBinder<string?>(this, __value => CurrentValueAsString = __value, CurrentValueAsString));
Forms\InputNumber.cs (1)
61builder.AddAttribute(7, "onchange", EventCallback.Factory.CreateBinder<string?>(this, __value => CurrentValueAsString = __value, CurrentValueAsString));
Forms\InputRadioGroup.cs (1)
38var changeEventCallback = EventCallback.Factory.CreateBinder<string?>(this, __value => CurrentValueAsString = __value, CurrentValueAsString);
Forms\InputSelect.cs (1)
56builder.AddAttribute(8, "onchange", EventCallback.Factory.CreateBinder<string?>(this, __value => CurrentValueAsString = __value, default));
Forms\InputText.cs (1)
39builder.AddAttribute(5, "onchange", EventCallback.Factory.CreateBinder<string?>(this, __value => CurrentValueAsString = __value, CurrentValueAsString));
Forms\InputTextArea.cs (1)
39builder.AddAttribute(5, "onchange", EventCallback.Factory.CreateBinder<string?>(this, __value => CurrentValueAsString = __value, CurrentValueAsString));
Microsoft.AspNetCore.Components.Web.Tests (5)
Forms\InputBaseTest.cs (1)
571await InvokeAsync(() => { base.CurrentValueAsString = value; });
Forms\InputDateTest.cs (1)
65await InvokeAsync(() => { base.CurrentValueAsString = value; });
Forms\InputNumberTest.cs (1)
117await InvokeAsync(() => { base.CurrentValueAsString = value; });
Forms\InputSelectTest.cs (2)
240set => base.CurrentValueAsString = value; 248await 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)
91builder.AddAttribute(5, "value", CurrentValueAsString); 92builder.AddAttribute(6, "onchange", EventCallback.Factory.CreateBinder<string?>(this, __value => CurrentValueAsString = __value, CurrentValueAsString));
Forms\InputNumber.cs (2)
60builder.AddAttribute(6, "value", CurrentValueAsString); 61builder.AddAttribute(7, "onchange", EventCallback.Factory.CreateBinder<string?>(this, __value => CurrentValueAsString = __value, CurrentValueAsString));
Forms\InputRadioGroup.cs (1)
38var changeEventCallback = EventCallback.Factory.CreateBinder<string?>(this, __value => CurrentValueAsString = __value, CurrentValueAsString);
Forms\InputSelect.cs (1)
55builder.AddAttribute(7, "value", CurrentValueAsString);
Forms\InputText.cs (2)
38builder.AddAttribute(4, "value", CurrentValueAsString); 39builder.AddAttribute(5, "onchange", EventCallback.Factory.CreateBinder<string?>(this, __value => CurrentValueAsString = __value, CurrentValueAsString));
Forms\InputTextArea.cs (2)
38builder.AddAttribute(4, "value", CurrentValueAsString); 39builder.AddAttribute(5, "onchange", EventCallback.Factory.CreateBinder<string?>(this, __value => CurrentValueAsString = __value, CurrentValueAsString));
Microsoft.AspNetCore.Components.Web.Tests (2)
Forms\InputBaseTest.cs (1)
549get => base.CurrentValueAsString;
Forms\InputSelectTest.cs (1)
239get => base.CurrentValueAsString;