DateTimePickerComponent appearance customization

How can I remove the bottom border of the DateTimePickerComponent and the red active border? Thank you in advanceScreenshot 2024-05-28 at 16.26.31.png


2 Replies

RM Rethabile Mahase June 3, 2024 08:21 PM UTC

Is it possible to add borders around the datetimepicker component and remove the red bottom border onFocus? If so, can I please get some assistance. I will appreciate any help you can provide. Thank you



MR Mallesh Ravi Chandran Syncfusion Team June 5, 2024 06:44 PM UTC

Hi Rethabile Mahase , 

To better assist you, we would like to inform you that the bottom red active border of the DateTimePicker Component is due to that you have used the material theme. If you prefer to add borders around the DateTimePicker component, you may use other themes such as Fluent, Bootstrap 5, etc., based on your requirements.


<link rel='nofollow' href=https://cdn.syncfusion.com/ej2/25.2.3/bootstrap5.css rel="stylesheet">

 


Sample : https://stackblitz.com/edit/react-gzxgv6-83qekb?file=index.html


Online Demo : https://ej2.syncfusion.com/react/demos/#/bootstrap5/datetimepicker/default


We have shared a simple sample for your reference. Please review the sample, and if you have any concerns, please get back to us . 


Regards ,
Mallesh



Loader.
Up arrow icon