Fix timestamp input pattern

This commit is contained in:
Raphael Wickihalder 2022-05-11 18:31:18 +02:00
parent 6ade6611d9
commit b0e213a2b5
No known key found for this signature in database
GPG key ID: 05179BB92383243D

View file

@ -473,7 +473,7 @@ export default function ReportContent(props: Props) {
name="timestamp" name="timestamp"
label={__('Timestamp')} label={__('Timestamp')}
placeholder={'00:23:59'} placeholder={'00:23:59'}
pattern="[0-9]{3}" pattern="[0-9]{2}:[0-9]{2}:[0-9]{2}"
value={input.timestamp} value={input.timestamp}
maxlength={8} maxlength={8}
onChange={(e) => { onChange={(e) => {