Blazor DatePicker Placeholder not working

Hi Support - simple Blazor datapicker placeholder not working - just shows the DateMin.Value - latest Blazor release of Syncfusion 18.4.0.35

<SfDatePicker Min="@DateTime.Now" Max="@DateTime.Now.AddYears(2)" ShowTodayButton="false" Placeholder="From" Format="dd-MM-yyyy" Value="AvailStartDate" Locale="en-AU" TValue="DateTime?"></SfDatePicker>




3 Replies 1 reply marked as answer

BC Berly Christopher Syncfusion Team January 27, 2021 12:46 PM UTC

Hi Laurence, 
  
Greetings from Syncfusion support. 
  
Based on the provided code and screenshot, we suspect that you have assigned the value to the DatePicker component which is minimal of min date of it. So, the provided value set to the component with strict mode validation. So, the placeholder is not shown and value is displayed in the component. While defined the component without value property, then placeholder is shown correctly in the component.  
  
For your convenience, we have prepared the sample and attached it below. 
  
Also, please share the below details which is help us to check and proceed further at our end. 
1.       Have you rendered the DatePicker component inside the Grid component? 
2.       Share the code for assigned date time value for value property. 
3.       Simple sample or modify the attached sample with reported issue.  
  
Regards, 
Berly B.C 


Marked as answer

LA Laurence January 27, 2021 02:28 PM UTC

Thank you very much its working now!


BC Berly Christopher Syncfusion Team January 28, 2021 09:39 AM UTC

Hi Laurence, 
  
We are glad to know that your issue is resolved. Please let us know if you need further assistance on this. 
  
Regards, 
Berly B.C 


Loader.
Up arrow icon