C
C#2y ago
Bamblobski

❔ Empty date field

Hey, is there a way to make the date field completely empty? (In Blazor/C#)
No description
5 Replies
David_F
David_F2y ago
maybe because your date field is not nullable?
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Bamblobski
BamblobskiOP2y ago
wdym? it looks like this:
[Required(ErrorMessage ="Beschaffungsdatum leer")]
public DateTime? BeschaffungsDate { get; set; }
[Required(ErrorMessage ="Beschaffungsdatum leer")]
public DateTime? BeschaffungsDate { get; set; }
SinFluxx
SinFluxx2y ago
Do you mean you don't want the placeholder text to show?
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.

Did you find this page helpful?