You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 20, 2019. It is now read-only.
First, someone from Blazor team should tell us whether in the foreseeable future it will work as expected and what is really expected. Is this universal syntax in the form bind-property-event or only bind-value-event. It is probably designed only for HTML elements and not for user defined components. Which HTML elements?
input (what type? text, password, checkbox, etc., new HTML types: date, time, number, email, etc.)
Thanks @Andrzej-W ... I'll wait until we hear from @SteveSandersonMS on the questions you asked. However, some quick testing should also be able to determine what's supported if I get to this before he responds. I might have some time next weekend to take a look at this issue.
@guardrex Quick testing in Blazor 0.7 is unfortunately not enough - usually you will get Error: System.InvalidCastException: Specified cast is not valid. (dotnet/aspnetcore#5521 (comment))
Here dotnet/aspnetcore#5521 is a discussion about a bug in data binding. Notice the syntax:
bind-value-oninput=@myField
and a few other examples. It is not documented at all and should be added here: https://blazor.net/docs/components/index.html#data-bindingFirst, someone from Blazor team should tell us whether in the foreseeable future it will work as expected and what is really expected. Is this universal syntax in the form
bind-property-event
or onlybind-value-event
. It is probably designed only for HTML elements and not for user defined components. Which HTML elements?cc: @SteveSandersonMS
The text was updated successfully, but these errors were encountered: