Add student count to course's classes, prevent empty add student
This commit is contained in:
@@ -209,7 +209,11 @@ export function InstructorClassAttendance(props) {
|
||||
/>
|
||||
</Form.Field>
|
||||
|
||||
<Form.Button loading={loading} error={error.non_field_errors}>
|
||||
<Form.Button
|
||||
loading={loading}
|
||||
error={error.non_field_errors}
|
||||
disabled={!input.member_id}
|
||||
>
|
||||
Submit
|
||||
</Form.Button>
|
||||
</Form>
|
||||
|
||||
Reference in New Issue
Block a user