From c6b466694cfecf130c36762d634f36194b511180 Mon Sep 17 00:00:00 2001 From: Paul Sealock Date: Wed, 2 Jan 2019 12:08:15 +1300 Subject: [PATCH] DateRange: change focusInput prop on input focus --- .../packages/components/src/calendar/date-range.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/woocommerce-admin/packages/components/src/calendar/date-range.js b/plugins/woocommerce-admin/packages/components/src/calendar/date-range.js index 9d8deb3b7e4..bb2a05f8d63 100644 --- a/plugins/woocommerce-admin/packages/components/src/calendar/date-range.js +++ b/plugins/woocommerce-admin/packages/components/src/calendar/date-range.js @@ -118,6 +118,7 @@ class DateRange extends Component { ), shortDateFormat ) } + onFocus={ () => this.onFocusChange( 'startDate' ) } />
{ __( 'to', 'wc-admin' ) }
this.onFocusChange( 'endDate' ) } />