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

Commit 0b909e8

Browse files
Add referral id field in the applyModal in course page
1 parent 57f667c commit 0b909e8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/views/pages/Course/ApplyModal.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,18 @@ export default function ApplyModal({ fullWidth = false, ...rest }) {
237237
errorMessages={[]}
238238
/>
239239

240+
<TextValidator
241+
key="referralId"
242+
className={classes.textField}
243+
label="Referral ID"
244+
variant="outlined"
245+
value={formData.referralId}
246+
fullWidth
247+
name="referralId"
248+
onChange={handleChange}
249+
validators={[]}
250+
/>
251+
240252
{submitting === 0 ? (
241253
<Button type="submit" variant="contained" color="secondary">
242254
Submit

0 commit comments

Comments
 (0)