fix: Handle retaining of selected role in the dropdown (#17259)

handle retaining of selected role in the dropdown
This commit is contained in:
Ankita Kinger 2022-10-03 21:10:33 +05:30 committed by GitHub
parent 39df47112d
commit f7e74e17a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -223,15 +223,6 @@ export const LabelText = styled(Text)`
letter-spacing: -0.24px;
`;
export const LeftIconWrapper = styled.span`
font-size: 20px;
line-height: 19px;
margin-right: 10px;
height: 100%;
position: relative;
top: 1px;
`;
export const StyledText = styled(Text)`
overflow: hidden;
text-overflow: ellipsis;
@ -512,7 +503,6 @@ function WorkspaceInviteUsersForm(props: any) {
outline={false}
placeholder="Select a role"
removeSelectedOption={onRemoveOptions}
selected={selectedOption}
showLabelOnly={isMultiSelectDropdown}
size="small"
/>