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 1423d1f commit e2cce19Copy full SHA for e2cce19
1 file changed
src/components/BootstrapBlazor.Vditor/Vditor.razor.cs
@@ -1,4 +1,4 @@
1
-// Copyright (c) Argo Zhang (argo@163.com). All rights reserved.
+// Copyright (c) BootstrapBlazor & Argo Zhang (argo@live.ca). All rights reserved.
2
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3
// Website: https://www.blazor.zone or https://argozhang.github.io/
4
@@ -237,10 +237,11 @@ public async Task TriggerRenderedAsync()
237
[JSInvokable]
238
public async Task TriggerInputAsync(string value)
239
{
240
+ _lastValue = value;
241
+ CurrentValue = value;
242
+
243
if (OnInputAsync != null)
244
- _lastValue = value;
- CurrentValue = value;
245
await OnInputAsync(value);
246
}
247
0 commit comments