Skip to content

Commit 5ef2e3d

Browse files
committed
file upload edit works
1 parent a6cc29f commit 5ef2e3d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

devU-client/src/components/pages/forms/assignments/codeProblemModal.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ const CodeProblemModal = ({ open, onClose, edit, problemId }: Props) => {
102102
id="title"
103103
placeholder="e.g. Application Objective 3"
104104
onChange={handleChange}
105+
value={formData.title}
105106
/>
106107
</div>
107108

@@ -113,6 +114,7 @@ const CodeProblemModal = ({ open, onClose, edit, problemId }: Props) => {
113114
placeholder="e.g. 10"
114115
min="0"
115116
onChange={handleChange}
117+
value={formData.maxScore}
116118
/>
117119
</div>
118120
</Modal>

0 commit comments

Comments
 (0)