Skip to content

'bind' does not accept values of type System.DateTimeOffset #5651

@mwinkler

Description

@mwinkler

If I try to bind the type System.DateTimeOffset I get a

System.ArgumentException: 'bind' does not accept values of type System.DateTimeOffset. To read and write this value type, wrap it in a property of type string with suitable getters and setters.

Example:

<input type="date" class="form-control" bind=@Timestamp />

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-blazorIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing one

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions