fix: prevent autocomplete (#620)

This commit is contained in:
Carlos Valente
2023-11-25 22:04:47 +01:00
committed by GitHub
parent 41c26778cb
commit 0660f014c8
2 changed files with 2 additions and 0 deletions
@@ -212,6 +212,7 @@ export default function TimeInput(props: TimeInputProps) {
onKeyDown={onKeyDownHandler} onKeyDown={onKeyDownHandler}
value={value} value={value}
maxLength={8} maxLength={8}
autoComplete='off'
/> />
</InputGroup> </InputGroup>
); );
@@ -40,6 +40,7 @@ export default function CountedTextInput(props: CountedTextInputProps) {
onChange={onChange} onChange={onChange}
onBlur={onBlur} onBlur={onBlur}
onKeyDown={onKeyDown} onKeyDown={onKeyDown}
autoComplete='off'
/> />
</div> </div>
); );