Skip to content

Commit

Permalink
allowed seconds input
Browse files Browse the repository at this point in the history
Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>
  • Loading branch information
maia-iyer committed Aug 10, 2021
1 parent bbcc590 commit 3100b66
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tornjak-frontend/src/components/entry-create.js
Original file line number Diff line number Diff line change
Expand Up @@ -708,13 +708,13 @@ class CreateEntry extends Component {
</DatePicker>
</div>
<div className="expiryOption-entry">
<TimePicker
<TextInput
labelText="Enter local time (15:45)"
placeholder="hh:mm"
placeholder="hh:mm:ss"
maxDetail="seconds"
pattern={["^([0-1]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$"]} // Allows
onChange={this.onChangeExpiresAtTime}
>
</TimePicker>
/>
</div>
</div>
}
Expand Down

0 comments on commit 3100b66

Please sign in to comment.