Commit 6d4bcc63 authored by BharathTarento's avatar BharathTarento
Browse files

added condition to disply the values

1 merge request!7added condition to disply the values
Showing with 5 additions and 3 deletions
+5 -3
......@@ -426,6 +426,7 @@ class FormViewer extends Component {
saveFields = (index) => {
// console.log("saveFields...");
if(this.state.applicationDetails.status === LANG.FORM_STATUS.NEW || this.state.applicationDetails.status ===LANG.FORM_STATUS.DRAFT || this.state.applicationDetails.status ===LANG.FORM_STATUS.RETURNED){
if (
!this.props.match.params.applicationId ||
this.props.match.params.applicationId ||
......@@ -501,9 +502,10 @@ class FormViewer extends Component {
}
}
this.setState({
formFields: obj,
});
this.setState({
formFields: obj,
});
}
}
// console.log(obj);
// files={this.state.formFields["field_3"].split(",")}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment