Merged in feature/IO-3554-Form-Row-Layout (pull request #3047)
feature/feature/IO-3554-Form-Row-Layout - Fix search, bump deps, fix formlayout
This commit is contained in:
@@ -478,15 +478,10 @@
|
|||||||
|
|
||||||
|
|
||||||
.global-search-autocomplete-fix {
|
.global-search-autocomplete-fix {
|
||||||
// Ant wrapper class names (common)
|
// This is the extra value render that causes the “duplicate text”
|
||||||
.ant-select-selection-item,
|
.ant-select-selection-item {
|
||||||
.ant-select-selection-placeholder {
|
position: absolute !important;
|
||||||
display: none !important;
|
left: -10000px !important;
|
||||||
}
|
pointer-events: none !important;
|
||||||
|
|
||||||
// rc-select internal class names (newer internal naming / fallback)
|
|
||||||
.rc-select-content-value,
|
|
||||||
.rc-select-placeholder {
|
|
||||||
display: none !important;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -185,6 +185,7 @@ export default function GlobalSearchOs() {
|
|||||||
<AutoComplete
|
<AutoComplete
|
||||||
options={data}
|
options={data}
|
||||||
showSearch={{
|
showSearch={{
|
||||||
|
filterOption: false,
|
||||||
onSearch: handleSearch
|
onSearch: handleSearch
|
||||||
}}
|
}}
|
||||||
onKeyDown={(e) => {
|
onKeyDown={(e) => {
|
||||||
|
|||||||
@@ -161,7 +161,8 @@ export default function GlobalSearch() {
|
|||||||
<AutoComplete
|
<AutoComplete
|
||||||
options={options}
|
options={options}
|
||||||
showSearch={{
|
showSearch={{
|
||||||
onSearch: handleSearch
|
onSearch: handleSearch,
|
||||||
|
filterOption: false
|
||||||
}}
|
}}
|
||||||
defaultActiveFirstOption
|
defaultActiveFirstOption
|
||||||
onKeyDown={(e) => {
|
onKeyDown={(e) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user