mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
get rid of dom warning (nova:forms)
This commit is contained in:
parent
5c424dabf5
commit
d878b8466e
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue