mirror of
https://github.com/plebbit/seedit.git
synced 2026-05-24 00:29:58 -04:00
fix(search bar): disable autocapitalize, autocorrect, autocomplete, spellcheck
This commit is contained in:
@@ -58,7 +58,16 @@ const SearchBar = ({ isFocused = false }: SearchBarProps) => {
|
||||
return (
|
||||
<div ref={wrapperRef}>
|
||||
<form className={styles.searchBar} ref={searchBarRef} onSubmit={handleSearchSubmit}>
|
||||
<input type='text' placeholder={placeholder} ref={searchInputRef} onFocus={handleInputFocus} />
|
||||
<input
|
||||
type='text'
|
||||
autoCorrect='off'
|
||||
autoComplete='off'
|
||||
spellCheck='false'
|
||||
autoCapitalize='off'
|
||||
placeholder={placeholder}
|
||||
ref={searchInputRef}
|
||||
onFocus={handleInputFocus}
|
||||
/>
|
||||
<input type='submit' value='' />
|
||||
</form>
|
||||
<div className={`${styles.infobar} ${showExpando ? styles.slideDown : styles.slideUp}`}>
|
||||
|
||||
Reference in New Issue
Block a user