Skip to content
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

DataPicker error #561

Open
JhowDevBR opened this issue Feb 4, 2024 · 1 comment
Open

DataPicker error #561

JhowDevBR opened this issue Feb 4, 2024 · 1 comment
Labels
bug-report Potential bug that should be verified control-datepickerfield
Milestone

Comments

@JhowDevBR
Copy link

Hi guys.
I have an error when selecting the date, as the year is always 0001.
The model looks like this:

[DataType(DataType.Date)]
[DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}", ApplyFormatInEditMode = true)]
public DateOnly DataStart { get; set; }
@JhowDevBR
Copy link
Author

<material:DatePickerField
Title="Date Start"
AccentColor="{StaticResource Secondary}"
BorderColor="{StaticResource Primary}"
Date="{Binding DataStart , Mode=TwoWay}"
Format="dd/MM/yyyy"
IsEnabled="True"
TitleColor="{StaticResource Primary}" />

@enisn enisn added bug-report Potential bug that should be verified control-datepickerfield labels Feb 6, 2024
@enisn enisn added this to the v2.7 milestone Feb 6, 2024
@enisn enisn modified the milestones: v2.7, v2.9 Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Potential bug that should be verified control-datepickerfield
Projects
None yet
Development

No branches or pull requests

2 participants