mirror of
https://github.com/PrimalHQ/primal-web-app.git
synced 2024-09-30 00:41:09 +00:00
Attempt to fix Safari browser, because it is a very bad browser
This commit is contained in:
parent
46c31555c3
commit
089f2990b2
@ -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"}
|
||||
/>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user