mirror of https://github.com/morpheus65535/bazarr
Fixed minimal value for time offset input field
This commit is contained in:
parent
77283e4063
commit
1489926b6f
|
@ -83,12 +83,25 @@ const TimeOffsetForm: FunctionComponent<Props> = ({ selections, onSubmit }) => {
|
||||||
></FontAwesomeIcon>
|
></FontAwesomeIcon>
|
||||||
</Button>
|
</Button>
|
||||||
<NumberInput
|
<NumberInput
|
||||||
|
min={0}
|
||||||
label="hour"
|
label="hour"
|
||||||
{...form.getInputProps("hour")}
|
{...form.getInputProps("hour")}
|
||||||
></NumberInput>
|
></NumberInput>
|
||||||
<NumberInput label="min" {...form.getInputProps("min")}></NumberInput>
|
<NumberInput
|
||||||
<NumberInput label="sec" {...form.getInputProps("sec")}></NumberInput>
|
min={0}
|
||||||
<NumberInput label="ms" {...form.getInputProps("ms")}></NumberInput>
|
label="min"
|
||||||
|
{...form.getInputProps("min")}
|
||||||
|
></NumberInput>
|
||||||
|
<NumberInput
|
||||||
|
min={0}
|
||||||
|
label="sec"
|
||||||
|
{...form.getInputProps("sec")}
|
||||||
|
></NumberInput>
|
||||||
|
<NumberInput
|
||||||
|
min={0}
|
||||||
|
label="ms"
|
||||||
|
{...form.getInputProps("ms")}
|
||||||
|
></NumberInput>
|
||||||
</Group>
|
</Group>
|
||||||
<Divider></Divider>
|
<Divider></Divider>
|
||||||
<Button disabled={!enabled} type="submit">
|
<Button disabled={!enabled} type="submit">
|
||||||
|
|
Loading…
Reference in New Issue