feat: update PartnerSelect component to enhance search input styling and remove unnecessary search props

This commit is contained in:
hy committed 2026-09-22 14:50:32 +08:00
1 parent 2368801219
commit 735809d572
2 files changed
+5 -2

No files matched your search

+5
View File
@@ -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 }) => {