Skip to content

Commit 265d67d

Browse files
committed
allowed seconds input
1 parent bbcc590 commit 265d67d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tornjak-frontend/src/components/entry-create.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -708,13 +708,13 @@ class CreateEntry extends Component {
708708
</DatePicker>
709709
</div>
710710
<div className="expiryOption-entry">
711-
<TimePicker
711+
<TextInput
712712
labelText="Enter local time (15:45)"
713-
placeholder="hh:mm"
713+
placeholder="hh:mm:ss"
714+
maxDetail="seconds"
714715
pattern={["^([0-1]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$"]} // Allows
715716
onChange={this.onChangeExpiresAtTime}
716-
>
717-
</TimePicker>
717+
/>
718718
</div>
719719
</div>
720720
}

0 commit comments

Comments
 (0)