Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
When an SfInPlaceEditor component's value is set 'too early' (in OnInitialized for example) the InPlaceEditor briefly (for a single frame maybe) shows the correct value after which it immediately reverts to [Empty Text].
If a delay is added prior to setting the value (on my pc 25ms and up seems to work, in the example I've added a 200ms delay which should work everywhere) the InPlaceEditor shows the correct value.
If the component is showing the incorrect [Empty Text] the only way to 'fix' it, is by changing the underlying value.
Only reopening/closing the InPlaceEditor does not work (as the underlying value does not change)
Reproduction steps:
1. Start by entering a valid license in Program.cs
2. Run the project.
You can very briefly see the InPlaceEditor show the correct value before reverting to [Empty Text].
3. Open Components/Pages/Home.razor and uncomment the 'await Task.Delay(200)' line in the OnInitializedAsync function.
4. re-run the project
Notice how (after the short delay) the InPlaceEditor shows the correct value.