C
C#9mo ago
Visual Code

❔ 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_F9mo ago
maybe because your date field is not nullable?
Accord
Accord9mo 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.
Visual Code
Visual Code9mo 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
SinFluxx9mo ago
Do you mean you don't want the placeholder text to show?
Accord
Accord9mo 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.