commit 44ae51507a616d8b9c8c20b33699eaa5dda99647
parent 3bfa24f87f391c87c7a729a6e1df8ee3c0d006d1
Author: Agastya Chandrakant <me@hanabi.in>
Date: Mon, 18 May 2020 13:12:59 +0530
autofocus value
Diffstat:
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/comp/currentTime.js b/src/comp/currentTime.js
@@ -20,6 +20,7 @@ function CurrentTime() {
</div>
<div className="col" id="converted-time-lbl-box">
<AutoCompleteText
+ autofocus={true}
changeValue={setTZ2}
defaultValue={TZ2}
id="converted-time-lbl-input"
diff --git a/src/comp/fromToTime.js b/src/comp/fromToTime.js
@@ -19,6 +19,7 @@ function FromToTime() {
<div className="row mb-3" id="labels">
<div className="col text-right" id="first-time-lbl-box">
<AutoCompleteText
+ autofocus={true}
changeValue={setTZ1}
defaultValue={TZ1}
id="first-time-lbl-input"