Fix timestamp input pattern and type
This commit is contained in:
commit
f0f1d0f695
1 changed files with 2 additions and 2 deletions
|
@ -469,11 +469,11 @@ export default function ReportContent(props: Props) {
|
||||||
{includeTimestamp(claim) && (
|
{includeTimestamp(claim) && (
|
||||||
<div className="section">
|
<div className="section">
|
||||||
<FormField
|
<FormField
|
||||||
type="tel"
|
type="text"
|
||||||
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) => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue