Fix empty state on DurationInput
This commit is contained in:
parent
5f23a29fad
commit
7132346a24
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ const DurationInput = React.forwardRef<HTMLInputElement, Props>(
|
||||||
},
|
},
|
||||||
className
|
className
|
||||||
)}
|
)}
|
||||||
value={`${getSeconds()}`.padStart(2, '0')}
|
value={getSeconds() > 0 ? `${getSeconds()}`.padStart(2, '0') : ''}
|
||||||
onChange={handleSecondsChange}
|
onChange={handleSecondsChange}
|
||||||
onKeyUp={handleKeyUp}
|
onKeyUp={handleKeyUp}
|
||||||
onKeyDown={handleKeyDown}
|
onKeyDown={handleKeyDown}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue