Merge pull request woocommerce/woocommerce-admin#1215 from woocommerce/fix/date-range-focus-endDate
DateRange: change focusInput prop on input focus
This commit is contained in:
commit
812cb17bd5
|
@ -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