C
C#16mo 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_F16mo ago
maybe because your date field is not nullable?
Accord
Accord16mo 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
BamblobskiOP16mo 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
SinFluxx16mo ago
Do you mean you don't want the placeholder text to show?
Accord
Accord16mo 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?