updated screenshot
This commit is contained in:
@@ -15,4 +15,4 @@ Photos from https://www.pexels.com/ under [CC0 license](https://www.pexels.com/p
|
|||||||
|
|
||||||
Background pattern from http://subtlepatterns.com/, commercial and non-commercial use allowed with attribution.
|
Background pattern from http://subtlepatterns.com/, commercial and non-commercial use allowed with attribution.
|
||||||
|
|
||||||

|

|
||||||
|
|||||||
+7
-2
@@ -882,12 +882,17 @@
|
|||||||
this.props.onSearchContacts(query);
|
this.props.onSearchContacts(query);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
handleKeyPress: function(e) {
|
||||||
|
if (e.key === 'Enter') {
|
||||||
|
this.handleSearch(e);
|
||||||
|
}
|
||||||
|
},
|
||||||
render: function() {
|
render: function() {
|
||||||
return (
|
return (
|
||||||
<form className="panel-form" onSubmit={this.handleFindContacts}>
|
<form className="panel-form" onSubmit={this.handleFindContacts}>
|
||||||
<div className="panel-form-one">
|
<div className="panel-form-one">
|
||||||
<input type="text" placeholder="Space or comma separated list: email:alice@example.com, tel:17025550003..."
|
<input type="text" placeholder="Comma separated list: email:alice@example.com, tel:17025550003..."
|
||||||
value={this.state.search} onChange={this.handleSearchChange} required />
|
value={this.state.search} onChange={this.handleSearchChange} onKeyPress={this.handleKeyPress} required />
|
||||||
<a href="#" onClick={this.handleSearch}>
|
<a href="#" onClick={this.handleSearch}>
|
||||||
<i className="material-icons">search</i>
|
<i className="material-icons">search</i>
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 981 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 150 KiB |
Reference in New Issue
Block a user