title: C# Blazor date input
body: <p>I'm doing a simple date input with C# blazor and I have a slight problem. Default placeholder of the input date field is string &quot;mm/dd/yyyy&quot; it represents null value. I tried to change that placeholder to show nothing, but for some reason it still shows &quot;mm/dd/yyyy&quot; if the value is not picked. If I choose any kind of date then my new set date is shown in the field. There are photos and a code snippet. The types are DateTime?.</p>
  <pre><code>&lt;div&gt;
       &lt;input type=&quot;date&quot; value=&quot;@(data.WorkerScheduleStartDate.HasValue ? ((DateTime)(data.WorkerScheduleStartDate)).ToString(&quot;yyyy-MM-dd&quot;) : string.Empty)&quot;
       @onchange=&quot;async (args) =&gt; { data.WorkerScheduleStartDate = DateTime.Parse(args.Value.ToString());
  &lt;/div&gt;
  </code></pre>
  <p><a href="https://i.stack.imgur.com/wnDzq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wnDzq.png" alt="enter image description here" /></a>
  <a href="https://i.stack.imgur.com/yOdDh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yOdDh.png" alt="enter image description here" /></a></p>