feat: update PartnerSelect component to enhance search input styling and remove unnecessary search props
This commit is contained in:
1 parent
2368801219
commit
735809d572
2 files changed
+5
-2
No files matched your search
@@ -580,6 +580,11 @@ textarea,
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.nc-partner-select .ant-select-selection-search-input {
|
||||
cursor: pointer;
|
||||
caret-color: transparent;
|
||||
}
|
||||
|
||||
.nc-partner-select-row {
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
|
||||
@@ -53,8 +53,6 @@ const PartnerSelect: React.FC<PartnerSelectProps> = ({
|
||||
placeholder={placeholder}
|
||||
data-testid={dataTestId}
|
||||
options={options}
|
||||
showSearch
|
||||
optionFilterProp="label"
|
||||
notFoundContent="暂无伙伴"
|
||||
onChange={onChange}
|
||||
labelRender={({ value: selectedValue, label }) => {
|
||||
|
||||
Reference in new issue
Block a user