Skip to content
This repository was archived by the owner on Mar 7, 2024. It is now read-only.

Commit 28c7e3e

Browse files
Merge pull request #176 from Abhishek-kumar09/r
Add referral id field in the applyModal in course page
2 parents d09c4b1 + e45580f commit 28c7e3e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/views/pages/Course/ApplyModal.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ export default function ApplyModal({ fullWidth = false, ...rest }) {
116116
</DialogContentText>
117117
<ValidatorForm onSubmit={handleSubmit}>
118118
<TextValidator
119+
autoComplete={false}
119120
required
120121
key="name"
121122
className={classes.textField}
@@ -167,6 +168,7 @@ export default function ApplyModal({ fullWidth = false, ...rest }) {
167168

168169
<Grid item xs={10}>
169170
<TextValidator
171+
autoComplete={false}
170172
required
171173
key="contact"
172174
className={classes.textField}
@@ -237,6 +239,17 @@ export default function ApplyModal({ fullWidth = false, ...rest }) {
237239
errorMessages={[]}
238240
/>
239241

242+
<TextValidator
243+
key="refId"
244+
className={classes.textField}
245+
label="Referral ID"
246+
variant="outlined"
247+
value={formData.refId}
248+
fullWidth
249+
name="refId"
250+
onChange={handleChange}
251+
/>
252+
240253
{submitting === 0 ? (
241254
<Button type="submit" variant="contained" color="secondary">
242255
Submit

0 commit comments

Comments
 (0)