Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-smf-web
Commits
6d4bcc63
Commit
6d4bcc63
authored
2 years ago
by
BharathTarento
Browse files
Options
Download
Patches
Plain Diff
added condition to disply the values
parent
a0a67bf9
form-issue
1 merge request
!7
added condition to disply the values
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/form/FormViewer.js
+5
-3
src/components/form/FormViewer.js
with
5 additions
and
3 deletions
+5
-3
src/components/form/FormViewer.js
+
5
−
3
View file @
6d4bcc63
...
...
@@ -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(",")}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets