diff --git a/components/input/style/index.ts b/components/input/style/index.ts index 57832661262f..4a7be8aec539 100644 --- a/components/input/style/index.ts +++ b/components/input/style/index.ts @@ -107,7 +107,7 @@ export const genStatusStyle = (token: InputToken, parentCls: string): CSSObject ), }, - [`${componentCls}-prefix`]: { + [`${componentCls}-prefix, ${componentCls}-suffix`]: { color: colorError, }, }, @@ -128,7 +128,7 @@ export const genStatusStyle = (token: InputToken, parentCls: string): CSSObject ), }, - [`${componentCls}-prefix`]: { + [`${componentCls}-prefix, ${componentCls}-suffix`]: { color: colorWarning, }, },