-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
'bind' does not accept values of type System.DateTimeOffset #5651
Comments
This is because The wrapper you need would look something like this
|
An additional benefit of a wrapper is, of course, that you can add code to call Actions on parent controls or State to notify them of a change. |
Is there a way to register such conversion in general? |
Related issue: #9598 |
This is already supported. |
If I try to bind the type
System.DateTimeOffset
I get aExample:
<input type="date" class="form-control" bind=@Timestamp />
The text was updated successfully, but these errors were encountered: