mirror of
https://github.com/wahyd4/ant-design.git
synced 2026-08-27 13:46:18 +10:00
Merge pull request #934 from ant-design/fix-form
fix: help is generate automatically now
This commit is contained in:
@@ -142,7 +142,7 @@ class FormItem extends React.Component {
|
||||
const prefixCls = props.prefixCls;
|
||||
const itemClassName = {
|
||||
[`${prefixCls}-item`]: true,
|
||||
[`${prefixCls}-item-with-help`]: !!props.help,
|
||||
[`${prefixCls}-item-with-help`]: !!this.getHelpMsg(),
|
||||
[`${props.className}`]: !!props.className,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user