File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ exports[`Geocoder should render 1`] = `
2424 loadOptions = { [Function ]}
2525 loadingPlaceholder = " Loading..."
2626 minimumInput = { 3 }
27+ onBlurResetsInput = { false }
2728 onChange = { [Function ]}
2829 options = { Array []}
2930 reverseSearch = { [Function ]}
@@ -69,7 +70,7 @@ exports[`Geocoder should render 1`] = `
6970 minimumInput = { 3 }
7071 multi = { false }
7172 noResultsText = " Type to search"
72- onBlurResetsInput = { true }
73+ onBlurResetsInput = { false }
7374 onChange = { [Function ]}
7475 onCloseResetsInput = { true }
7576 onInputChange = { [Function ]}
Original file line number Diff line number Diff line change @@ -90,6 +90,8 @@ class Geocoder extends Component {
9090 callback ( null , {
9191 options : this . defaultOptions ( )
9292 } )
93+ } else {
94+ callback ( null )
9395 }
9496 } else {
9597 const autocompleteQuery = {
@@ -195,6 +197,7 @@ class Geocoder extends Component {
195197 onChange = { this . _onChange }
196198 ref = { this . _saveRef }
197199 value = { this . state . value }
200+ onBlurResetsInput = { false }
198201 />
199202 )
200203 }
You can’t perform that action at this time.
0 commit comments