-
Notifications
You must be signed in to change notification settings - Fork 10.4k
[Blazor] InputBase - SetCurrentValueAsync + SetCurrentValueAsStringAsync (fix for #44105) #54279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Thanks for your PR, @hakenr. Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
…g) hides inherited member InputBase<T>.SetCurrentValueAsStringAsync(string?)
The third commit fixes |
Now it seems the failing tests are unrelated (HTTP/2, HTTP/3). |
/azp run |
Commenter does not have sufficient privileges for PR 54279 in repo dotnet/aspnetcore |
Looks like this PR hasn't been active for some time and the codebase could have been changed in the meantime. |
Thanks for the contribution, @hakenr. We're interested in taking this change, but it has to go through API review first. Would you be willing to fill out a new issue using the API Proposal template? Its content would probably be quite similar to what you already wrote in #44105. This will allow us to prioritize reviewing the changes here. |
I will try to submit the API Proposal as requested. |
@hanenR sorry it took us a while to get back to this PR. We had an "intense" discussion within the team a couple months back and we had to summarize the discussion. We discuss the possibility of awaiting The reason for this is that it is very easy to get into a situation where if your binding does async work, any high throughput input will result in the state between the control and the input getting out of sync. For example, having an input that does some async work and then capitalizes the value would cause a sequence of events like Right now there's no support for cancellation on We would still take this PR if we scope down the change to avoid the |
@javiercn, as I already said in #59477 (the API Proposal requested)
|
Proper Asynchronous Handling for
ValueChanged
CallbackFixes #44105
Description
I'm willing to continue collaborating on this PR if I receive a code review and further refinements are needed.
cc @jirikanda