Set the Placeholder in Blazor DateTimePicker Component
4 Nov 20251 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>