summaryrefslogtreecommitdiff
path: root/app/client/common/textInput.component.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-03 16:34:09 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-03 16:34:09 +0200
commit3fbc033e37476ff03fc4ad93145976faeea47934 (patch)
treed6472eadb3abad48711730ce8b5cc816c61c6769 /app/client/common/textInput.component.js
parent70551b5c0d32effb316a75d6bbe3c6807f8b4d05 (diff)
reload the whole page. easier
Diffstat (limited to 'app/client/common/textInput.component.js')
-rw-r--r--app/client/common/textInput.component.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/client/common/textInput.component.js b/app/client/common/textInput.component.js
index c514b78..1e2ca01 100644
--- a/app/client/common/textInput.component.js
+++ b/app/client/common/textInput.component.js
@@ -25,6 +25,7 @@ class TextInput extends Component {
onInput={this.handleInput}
onKeydown={this.handleKeydown}
placeholder={this.props.placeholder}
+ autofocus={this.props.autofocus}
/>
</label>
</div>