From c778dd2cbe9bc6e3cf57b6d03ddf5ef31e9bf33f Mon Sep 17 00:00:00 2001
From: Roosted7 <thomasroos@live.nl>
Date: Thu, 8 Mar 2018 01:50:31 +0100
Subject: [PATCH] Make student name autofocus on matching page

---
 client/views/Students.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/client/views/Students.js b/client/views/Students.js
index 393636364..f4ee54341 100644
--- a/client/views/Students.js
+++ b/client/views/Students.js
@@ -424,7 +424,7 @@ class CheckStudents extends React.Component {
                                     </p>
                                     <div className="panel-block">
                                         <p className="control has-icons-left">
-                                            <input className="input" type="text" placeholder="Search"
+                                            <input className="input" type="text" autoFocus placeholder="Search"
                                                 value={this.state.search.input} onChange={this.search} onKeyDown={this.moveSelection} />
                                             <span className="icon is-left">
                                                 <i className="fa fa-search"></i>
-- 
GitLab