Skip to content

Commit

Permalink
fix: fix form help validate status error (#1071)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yohox authored Nov 26, 2020
1 parent a5b1af9 commit 82d50df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/antd/src/components/FormItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ const computeStatus = (props: any) => {
if (props.warnings && props.warnings.length) {
return 'warning'
}
if(props.active){
return 'success'
}
return ''
}

Expand Down

0 comments on commit 82d50df

Please sign in to comment.