Set the Placeholder in Blazor DateTimePicker Component
10 Jun 20261 minute to read
The following example demonstrates how to set the Placeholder in the DateTimePicker component.
Using the Placeholder property, a short hint can be displayed in the input element to guide users before a value is selected.
@using Syncfusion.Blazor.Calendars
<SfDateTimePicker TValue="DateTime?" Placeholder="Choose a datetime"></SfDateTimePicker>