Remove tabindex from DurationInput

This commit is contained in:
Justin Edmund 2023-06-17 23:57:58 -07:00
parent 7132346a24
commit 4cceded7bd

View file

@ -194,7 +194,6 @@ const DurationInput = React.forwardRef<HTMLInputElement, Props>(
onKeyDown={handleKeyDown} onKeyDown={handleKeyDown}
placeholder="mm" placeholder="mm"
size={3} size={3}
tabIndex={props.tabIndex}
/> />
<span>:</span> <span>:</span>
<Input <Input
@ -212,7 +211,6 @@ const DurationInput = React.forwardRef<HTMLInputElement, Props>(
onKeyDown={handleKeyDown} onKeyDown={handleKeyDown}
placeholder="ss" placeholder="ss"
size={2} size={2}
tabIndex={props.tabIndex ? props.tabIndex + 1 : undefined}
/> />
</div> </div>
) )