How to remove placeholder from DatePicker?
If I set DateFormat to "d" then DatePicker will have "d" as a placeholder which confuses my users. How can I set custom placeholder or remove the placeholder from the DatePicker control?
Best regards,
Robert
Hi,
At the moment, the date input (and the various date/time pickers) don't have a placeholder yet, please click the Follow button on this page to know when it gets implemented. Once it is, you will be able to inspect the rendered HTML and devise a CSS rule to style it in case the built-in rules do not match your needs.
Regards,
Marin Bratanov
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
@Robert
I have the same requirement hence +1 for this thread. You can use the following workaround to hide the placeholder when no value is given:
<TelerikDateInput Value="@Value" Format="@Format"Hello Robert,
I moved this thread to the public feedback portal so you can Follow the status of such a feature (I took the liberty of tweaking the title a little): https://feedback.telerik.com/blazor/1452940-placeholder-for-datepicker-and-the-other-date-inputs.
At the moment, all the date inputs (which all boil down to a TelerikDateInput) show their Format as a placeholder. Options I can suggest are as workarounds:
Regards,
Marin Bratanov
Progress Telerik