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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Border color when element have ng-invalid

Thread ID:

Created:

Updated:

Platform:

Replies:

141503 Dec 14,2018 11:11 AM UTC Dec 17,2018 06:17 AM UTC Angular - EJ 2 1
loading
Tags: DatePicker
Marko
Asked On December 14, 2018 11:11 AM UTC

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?

Deepa Loganathan [Syncfusion]
Replied On 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. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;