MatBlazor icon indicating copy to clipboard operation
MatBlazor copied to clipboard

Added UpdateOnInput to MatInputText to allow @bind:event="oninput".

Open darickc opened this issue 5 years ago • 5 comments

Added UpdateOnInput as a boolean to MatInputText to allow @bind:event="oninput" as described in this article: https://docs.microsoft.com/en-us/aspnet/core/blazor/data-binding?view=aspnetcore-3.1

darickc avatar May 26 '20 16:05 darickc

Thank you for cointribution, Darick! As I check this problem some times ago, @bind:event="something" can not be as parameter. It is compile time parameter. Did you properly test this and sire that is works?

SamProf avatar Jun 13 '20 14:06 SamProf

Yes, I added an example of using it to the TextField demo. You will see at the end of the page. When typing in the first field, "Update on Change", the value doesn't change until the text box loses focus. But the "Update On Input" changes as you type. This is working for both the client and server demo app.

darickc avatar Jun 13 '20 18:06 darickc

@darickc , There are merge conflicts here

Christian-Oleson avatar Oct 11 '20 06:10 Christian-Oleson

Any news on this? Reactive components are a must in today's web browsing experience 😄

Rickybarb5 avatar Mar 25 '21 15:03 Rickybarb5

@SamProf, I believe the merge conflicts have been resolved. Is there more that I need to do?

darickc avatar Apr 01 '21 23:04 darickc