We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Border color when element have ng-invalid

Hi team, 

I want overwrite behavior of
.e-input-group.e-control-wrapper.e-error:not(.e-float-icon-left) {
border-color: #a80000;
}
I want that border be colored when ng-invalid has been present to element class in reactive forms.
Can I overwrite that?

1 Reply

DL Deepa Loganathan Syncfusion Team December 17, 2018 06:17 AM UTC

Hi Marko,  
 
Thanks for contacting Syncfusion support.  
 
Yes, you can override the default styles of Datepicker to meet your application needs.  
 
For your reference, we have prepared a sample to override the border color in invalid state of Datepicker. Please check the below link. 
 

Regards,
 
Deepa L. 


Loader.
Live Chat Icon For mobile
Up arrow icon