We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f1e8eb commit aef8d4cCopy full SHA for aef8d4c
1 file changed
src/components/BootstrapBlazor.SummerNote/Components/Editor/Editor.razor.cs
@@ -186,20 +186,10 @@ protected override async Task InvokeInitAsync()
186
/// </summary>
187
/// <param name="value"></param>
188
[JSInvokable]
189
- public async Task Update(string value)
+ public void Update(string value)
190
{
191
- Value = value;
192
- _lastValue = Value;
193
-
194
- if (ValueChanged.HasDelegate)
195
- {
196
- await ValueChanged.InvokeAsync(Value);
197
- }
198
199
- if (OnValueChanged != null)
200
201
- await OnValueChanged.Invoke(value);
202
+ CurrentValue = value;
+ _lastValue = value;
203
}
204
205
/// <summary>
0 commit comments