DateRange: change focusInput prop on input focus
This commit is contained in:
parent
7bb9265383
commit
c6b466694c
|
@ -118,6 +118,7 @@ class DateRange extends Component {
|
|||
),
|
||||
shortDateFormat
|
||||
) }
|
||||
onFocus={ () => this.onFocusChange( 'startDate' ) }
|
||||
/>
|
||||
<div className="woocommerce-calendar__inputs-to">{ __( 'to', 'wc-admin' ) }</div>
|
||||
<DateInput
|
||||
|
@ -133,6 +134,7 @@ class DateRange extends Component {
|
|||
),
|
||||
shortDateFormat
|
||||
) }
|
||||
onFocus={ () => this.onFocusChange( 'endDate' ) }
|
||||
/>
|
||||
</div>
|
||||
<div className="woocommerce-calendar__react-dates">
|
||||
|
|
Loading…
Reference in New Issue