mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 09:28:11 +00:00
turn off searching
This commit is contained in:
1 parent
6a98ff4988
commit
f8a7490898
2 files changed
+2
No files matched your search
@@ -232,6 +232,7 @@ function buildDropdowns(
|
||||
classNames: SearchFieldClass,
|
||||
className:"w-100",
|
||||
autoFocus: false, // On mobile, we don't want the onscreen keyboard to take up half the UI.
|
||||
isSearchable: false, // On mobile, we don't want the onscreen keyboard to take up half the UI.
|
||||
onChange: (option: any) => handleChangeCategory(i, option?.value),
|
||||
};
|
||||
|
||||
|
||||
+1
@@ -125,6 +125,7 @@ export function ScopedVoiceModelOptions(props: Props) {
|
||||
onChange={handleChange}
|
||||
// On mobile, we don't want the onscreen keyboard to take up half the UI.
|
||||
autoFocus={false}
|
||||
isSearchable={false}
|
||||
// NB: The following settings improve upon performance.
|
||||
// See: https://github.com/JedWatson/react-select/issues/3128
|
||||
filterOption={createFilter({ignoreAccents: false})}
|
||||
|
||||
Reference in new issue
Block a user