Skip to content

Commit

Permalink
validating status should has feedback icon always, ant-design#7498
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Sep 6, 2017
1 parent 7d619df commit 16b2cc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/form/FormItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export default class FormItem extends React.Component<FormItemProps, any> {
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',
Expand Down

0 comments on commit 16b2cc0

Please sign in to comment.