Add full name composite field (#9008)
- Add composite field - Add test - Fix search variable dropdown scroll <img width="548" alt="Capture d’écran 2024-12-10 à 16 52 43" src="https://github.com/user-attachments/assets/c337f0c3-8a70-401a-abd0-7206489ba73e">
This commit is contained in:
+4
-3
@@ -1,4 +1,5 @@
|
||||
import { Dropdown } from '@/ui/layout/dropdown/components/Dropdown';
|
||||
import { DropdownMenuItemsContainer } from '@/ui/layout/dropdown/components/DropdownMenuItemsContainer';
|
||||
import { StyledDropdownButtonContainer } from '@/ui/layout/dropdown/components/StyledDropdownButtonContainer';
|
||||
import { useDropdown } from '@/ui/layout/dropdown/hooks/useDropdown';
|
||||
import { SearchVariablesDropdownFieldItems } from '@/workflow/search-variables/components/SearchVariablesDropdownFieldItems';
|
||||
@@ -26,7 +27,7 @@ const StyledDropdownVariableButtonContainer = styled(
|
||||
}
|
||||
`;
|
||||
|
||||
const StyledDropdownComponetsContainer = styled.div`
|
||||
const StyledDropdownComponentsContainer = styled(DropdownMenuItemsContainer)`
|
||||
background-color: ${({ theme }) => theme.background.transparent.light};
|
||||
`;
|
||||
|
||||
@@ -136,9 +137,9 @@ const SearchVariablesDropdown = ({
|
||||
</StyledDropdownVariableButtonContainer>
|
||||
}
|
||||
dropdownComponents={
|
||||
<StyledDropdownComponetsContainer>
|
||||
<StyledDropdownComponentsContainer>
|
||||
{renderSearchVariablesDropdownComponents()}
|
||||
</StyledDropdownComponetsContainer>
|
||||
</StyledDropdownComponentsContainer>
|
||||
}
|
||||
dropdownPlacement="bottom-end"
|
||||
dropdownOffset={{ x: 0, y: 4 }}
|
||||
|
||||
Reference in New Issue
Block a user