File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import FormElement from './FormElement';
55import Input from './Input' ;
66import Icon from './Icon' ;
77import Datepicker from './Datepicker' ;
8- import { uuid , isElInChildren } from './util' ;
8+ import { uuid , isElInChildren , registerStyle } from './util' ;
99
1010export default class DateInput extends Component {
1111 constructor ( props ) {
@@ -23,6 +23,13 @@ export default class DateInput extends Component {
2323 this . onDatepickerSelect = this . onDatepickerSelect . bind ( this ) ;
2424 this . onDatepickerBlur = this . onDatepickerBlur . bind ( this ) ;
2525 this . onDatepickerClose = this . onDatepickerClose . bind ( this ) ;
26+
27+ registerStyle ( 'dateinput' , [
28+ [
29+ '.slds-has-error .slds-datepicker .slds-select' ,
30+ '{ border: 1px solid #d8dde6; box-shadow: none; }' ,
31+ ] ,
32+ ] ) ;
2633 }
2734
2835 componentDidUpdate ( prevProps , prevState ) {
You can’t perform that action at this time.
0 commit comments