get rid of dom warning (nova:forms)

This commit is contained in:
xavizalote 2016-04-16 18:01:37 +02:00
parent 5c424dabf5
commit d878b8466e
2 changed files with 2 additions and 2 deletions

View file

@ -55,7 +55,7 @@ FormComponent.propTypes = {
value: React.PropTypes.any,
options: React.PropTypes.any,
control: React.PropTypes.any,
dataType: React.PropTypes.any,
datatype: React.PropTypes.any,
disabled: React.PropTypes.bool
}

View file

@ -235,7 +235,7 @@ class NovaForm extends Component{
let field = {
name: fieldName,
label: (typeof this.props.labelFunction === "function") ? this.props.labelFunction(fieldName) : fieldName,
dataType: fieldSchema.type,
datatype: fieldSchema.type,
control: fieldSchema.control,
layout: this.props.layout
}