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
64a58904
Commit
64a58904
authored
2 years ago
by
devendra
Browse files
Options
Download
Patches
Plain Diff
Feat: submit districtName of institute while submitting form
parent
09355d17
master
delete-form
delete-user
1 merge request
!9
Show institution district
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/form/FormViewer.js
+6
-0
src/components/form/FormViewer.js
with
6 additions
and
0 deletions
+6
-0
src/components/form/FormViewer.js
+
6
−
0
View file @
64a58904
...
...
@@ -20,6 +20,7 @@ import Helper from "../../helpers/auth";
import
{
StatusBarLarge
}
from
"
../status-bar
"
;
import
{
CardThree
}
from
"
../cards
"
;
import
{
TextAreaField
}
from
"
../form-elements
"
;
import
Auth
from
"
../../helpers/auth
"
;
// import { BtnTwo } from "../buttons";
// const $ = window.$;
class
FormViewer
extends
Component
{
...
...
@@ -549,6 +550,11 @@ class FormViewer extends Component {
}),
};
const
instituteCourses
=
Auth
.
get
(
'
instituteCourses
'
);
if
(
instituteCourses
.
length
>
0
)
{
formDetails
[
'
districtName
'
]
=
instituteCourses
[
0
].
districtName
;
}
// formDetails = JSON.stringify(formDetails);
// console.log(JSON.parse(formDetails));
...
...
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