Skip to content

Commit ca444b5

Browse files
authored
fix: Input.Search class not work (#3541)
1 parent b07190e commit ca444b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/input/Search.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export default defineComponent({
167167
[`${prefixCls}-${size}`]: !!size,
168168
});
169169
} else {
170-
inputClassName = prefixCls;
170+
inputClassName = classNames(prefixCls, className);
171171
}
172172

173173
const inputProps = {

0 commit comments

Comments
 (0)