Syncfusion AI Assistant

How can I help you?

Set the Placeholder in Blazor DateTimePicker Component

22 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>

Blazor DateTimePicker displays hint text using the Placeholder property