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
e3c3ecf1
Commit
e3c3ecf1
authored
3 years ago
by
Sakthivel G
Browse files
Options
Download
Patches
Plain Diff
fix: update defaultvalue mapping for inspectors form view
parent
c16a20d4
master
accept_file_type
cards-value-changes
delete-form
delete-user
form-issue
inspector-model
label-change
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/layouts/Inspector/ConsentFormView.tsx
+3
-3
src/layouts/Inspector/ConsentFormView.tsx
src/layouts/Inspector/FormView.tsx
+3
-3
src/layouts/Inspector/FormView.tsx
with
6 additions
and
6 deletions
+6
-6
src/layouts/Inspector/ConsentFormView.tsx
+
3
−
3
View file @
e3c3ecf1
...
...
@@ -182,7 +182,7 @@ export const ConsentFormView = ({
sideMenu
:
m
.
sideMenu
,
label
:
k
.
label
,
value
:
i
.
fields
[
k
.
label
],
defaultValues
:
k
.
v
alues
,
defaultValues
:
k
.
defaultV
alues
,
fieldType
:
k
.
fieldType
,
isCorrect
:
""
,
inspectionValue
:
""
,
...
...
@@ -195,7 +195,7 @@ export const ConsentFormView = ({
sideMenu
:
m
.
sideMenu
,
label
:
k
.
label
,
value
:
i
.
fields
[
k
.
label
],
defaultValues
:
k
.
v
alues
,
defaultValues
:
k
.
defaultV
alues
,
fieldType
:
k
.
fieldType
,
isCorrect
:
tempArrayTwo
[
n
].
fields
[
k
.
label
][
"
value
"
]
===
"
correct
"
...
...
@@ -221,7 +221,7 @@ export const ConsentFormView = ({
sideMenu
:
i
.
sideMenu
,
label
:
m
.
name
,
value
:
i
.
fields
[
m
.
name
],
defaultValues
:
m
.
v
alues
,
defaultValues
:
m
.
defaultV
alues
,
fieldType
:
m
.
fieldType
,
isCorrect
:
""
,
inspectionValue
:
""
,
...
...
This diff is collapsed.
Click to expand it.
src/layouts/Inspector/FormView.tsx
+
3
−
3
View file @
e3c3ecf1
...
...
@@ -169,7 +169,7 @@ export const FormView = ({ applicationData, formData }: FormViewProps) => {
sideMenu
:
m
.
sideMenu
,
label
:
k
.
label
,
value
:
i
.
fields
[
k
.
label
],
defaultValues
:
k
.
v
alues
,
defaultValues
:
k
.
defaultV
alues
,
fieldType
:
k
.
fieldType
,
isCorrect
:
""
,
inspectionValue
:
""
,
...
...
@@ -182,7 +182,7 @@ export const FormView = ({ applicationData, formData }: FormViewProps) => {
sideMenu
:
m
.
sideMenu
,
label
:
k
.
label
,
value
:
i
.
fields
[
k
.
label
],
defaultValues
:
k
.
v
alues
,
defaultValues
:
k
.
defaultV
alues
,
fieldType
:
k
.
fieldType
,
isCorrect
:
tempArrayTwo
[
n
].
fields
[
k
.
label
][
"
value
"
]
===
"
correct
"
...
...
@@ -208,7 +208,7 @@ export const FormView = ({ applicationData, formData }: FormViewProps) => {
sideMenu
:
i
.
sideMenu
,
label
:
m
.
name
,
value
:
i
.
fields
[
m
.
name
],
defaultValues
:
m
.
v
alues
,
defaultValues
:
m
.
defaultV
alues
,
fieldType
:
m
.
fieldType
,
isCorrect
:
""
,
inspectionValue
:
""
,
...
...
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