Skip to content

Commit

Permalink
Added query delay as 0 ms for quick suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
Murali Suresh committed Jan 20, 2017
1 parent eebab14 commit 4b0ddc5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions reactJS/app/components/RegisterComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -312,11 +312,10 @@ class RegisterComponent extends Component {
<div className='col-md-6 col-md-offset-3'>

<Geosuggest style={{
'input': {width: 'initial',
textAlign: 'inherit'},
'input': {width: 'initial', textAlign: 'inherit'},
'suggests': {},
'suggestItem': {}
}} placeholder='Restaurant location' initialValue='' onSuggestSelect={this.suggestLocation} onChange={this.storeLocation}/>
}} queryDelay='0' placeholder='Event location' initialValue='' onSuggestSelect={this.suggestLocation} onChange={this.storeLocation}/>

</div>
<br></br>
Expand Down Expand Up @@ -456,7 +455,7 @@ class RegisterComponent extends Component {
'input': {},
'suggests': {},
'suggestItem': {}
}} placeholder='Restaurant location' initialValue='' onSuggestSelect={this.suggestLocation} onChange={this.storeLocation}/>
}} queryDelay='0' placeholder='Event location' initialValue='' onSuggestSelect={this.suggestLocation} onChange={this.storeLocation}/>

</div>
</div>
Expand Down

0 comments on commit 4b0ddc5

Please sign in to comment.