From b4f3fe97fd080df3777f66107847e56f280f9852 Mon Sep 17 00:00:00 2001 From: Mohamed Emad Date: Wed, 25 Sep 2024 10:46:14 +0300 Subject: [PATCH] Fix #6776 use mergeProps on iconField pt for password component --- components/lib/password/Password.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/components/lib/password/Password.js b/components/lib/password/Password.js index 2f4058956d..abd131365b 100644 --- a/components/lib/password/Password.js +++ b/components/lib/password/Password.js @@ -477,11 +477,15 @@ export const Password = React.memo( ptm('input') ); + const iconFieldProps = mergeProps({ + className: cx('iconField') + }, ptm('iconField')) + let input = ; if (icon) { input = ( - + {input} {icon}