removed obsolete code
This commit is contained in:
@@ -119,25 +119,13 @@ define(
|
|||||||
);
|
);
|
||||||
|
|
||||||
var fields = this.props.fields.map(function(field, i) {
|
var fields = this.props.fields.map(function(field, i) {
|
||||||
// if(field['fields'] !== undefined) {
|
return (
|
||||||
// return field.fields.map(function(subfield, j) {
|
<FormField
|
||||||
// return (
|
field={ field }
|
||||||
// <FormField
|
item={ this.state.item }
|
||||||
// field={ subfield }
|
onValueChange={ this.handleValueChange }
|
||||||
// item={ this.state.item }
|
key={ 'field-'+i } />
|
||||||
// onValueChange={ this.handleValueChange }
|
);
|
||||||
// key={ 'subfield-'+j } />
|
|
||||||
// );
|
|
||||||
// }.bind(this));
|
|
||||||
// } else {
|
|
||||||
return (
|
|
||||||
<FormField
|
|
||||||
field={ field }
|
|
||||||
item={ this.state.item }
|
|
||||||
onValueChange={ this.handleValueChange }
|
|
||||||
key={ 'field-'+i } />
|
|
||||||
);
|
|
||||||
// }
|
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
Reference in New Issue
Block a user