Skip to content

Commit 407bb1a

Browse files
authored
974128: Correcting the preview sample of blazor inplace editor component.
1 parent a278df9 commit 407bb1a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

blazor/in-place-editor/getting-started-with-web-app.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -560,14 +560,14 @@ The edited data is submitted to the server and you can see the new values gettin
560560
public void OnSuccess(ActionEventArgs<string> args)
561561
{
562562
this.PreviousValue = this.CurrentValue;
563-
this.CurrentValue = args.Value;
563+
this.CurrentValue = this.DropdownValue;
564564
}
565565
}
566566

567567
{% endhighlight %}
568568
{% endtabs %}
569569

570-
{% previewsample "https://blazorplayground.syncfusion.com/embed/BZVzXiLafrzKnAQi?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Refreshing Blazor In-place Editor Data](./images/blazor-inplace-editor-refresh-data.png)" %}
570+
![Blazor In-place Editor with modified value](./images/blazor-inplace-editor-refresh-data.gif)
571571

572572
## See also
573573

blazor/in-place-editor/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,14 +491,14 @@ The edited data is submitted to the server and you can see the new values gettin
491491
public void OnSuccess(ActionEventArgs<string> args)
492492
{
493493
this.PreviousValue = this.CurrentValue;
494-
this.CurrentValue = args.Value;
494+
this.CurrentValue = this.DropdownValue;
495495
}
496496
}
497497

498498
{% endhighlight %}
499499
{% endtabs %}
500500

501-
{% previewsample "https://blazorplayground.syncfusion.com/embed/BZVzXiLafrzKnAQi?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Refreshing Blazor In-place Editor Data](./images/blazor-inplace-editor-refresh-data.png)" %}
501+
![Blazor In-place Editor with modified value](./images/blazor-inplace-editor-refresh-data.gif)
502502

503503
## See also
504504

103 KB
Loading

0 commit comments

Comments
 (0)