Skip to content

Commit 6e1439b

Browse files
committed
added no default to add assignment - 103
1 parent 8df4f82 commit 6e1439b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,11 @@ const AddAssignmentModal = ({ open, onClose }: Props) => {
189189
<input type='date' id="end_date" value={endDate} onChange={handleEndDateChange} />
190190
</div>
191191
</div>
192+
<span>Select submission for final score:</span>
192193
<div className="input-subgroup-2col" style={{justifyContent: 'flex-start'}}>
193-
<span>Select submission for final score:</span>
194194
<label htmlFor="subRecent"><input type="radio" id="subRecent" name="submissionChoice" defaultChecked/>Most Recent</label>
195195
<label htmlFor="subHighest"><input type="radio" id="subHighest" name="submissionChoice"/>Highest Score</label>
196+
<label htmlFor="subNone"><input type="radio" id="subNone" name="submissionChoice" />No Default</label>
196197
</div>
197198
<label htmlFor="disableHandins">Disable Submissions?<input type="checkbox" id="disableHandins" /></label>
198199
</Modal>

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,8 @@ const AssignmentUpdatePage = () => {
296296
<span>Select submission for final score:</span>
297297
<label htmlFor="subRecent" style={{display: 'block', paddingTop: '5px'}}><input type="radio" id="subRecent" name="submissionChoice" defaultChecked />Most Recent</label>
298298
<label htmlFor="subHighest"><input type="radio" id="subHighest" name="submissionChoice" />Highest Score</label>
299+
<label htmlFor="subNone"><input type="radio" id="subNone" name="submissionChoice" />No Default</label>
300+
299301
<div className={styles.textFieldContainer}>
300302
<div>
301303
<div className={styles.textFieldHeader}>Assignment Category: </div>

0 commit comments

Comments
 (0)