Attempt to fix Safari browser, because it is a very bad browser

This commit is contained in:
Bojan Mojsilovic 2023-10-13 12:08:29 +02:00
parent 46c31555c3
commit 089f2990b2

View File

@ -15,6 +15,7 @@ const TextInput: Component<{
validationState?: 'valid' | 'invalid',
type?: string,
autocomplete?: string,
name?: string,
}> = (props) => {
return (
@ -36,7 +37,8 @@ const TextInput: Component<{
ref={props.ref}
class={styles.input}
readOnly={props.readonly}
type={props.type}
type={props.type || 'search'}
name={props.name || 'searchTerm'}
autocomplete={props.autocomplete || "off"}
/>