From 16b2cc044e593eedc1b066fc1ddb3a0d4bce6d38 Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 6 Sep 2017 19:58:04 +0800 Subject: [PATCH] validating status should has feedback icon always, #7498 --- components/form/FormItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/form/FormItem.tsx b/components/form/FormItem.tsx index d2d2e8657efe..e08d327ebd84 100644 --- a/components/form/FormItem.tsx +++ b/components/form/FormItem.tsx @@ -169,7 +169,7 @@ export default class FormItem extends React.Component { if (validateStatus) { classes = classNames( { - 'has-feedback': props.hasFeedback, + 'has-feedback': props.hasFeedback || validateStatus === 'validating', 'has-success': validateStatus === 'success', 'has-warning': validateStatus === 'warning', 'has-error': validateStatus === 'error',