Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
fix(attendance-slider): update validation status before saving
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabauke committed Apr 13, 2023
1 parent cf05430 commit 622e41c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/index/attendances/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
data-test-attendance-slider
data-test-attendance-slider-id={{attendance.id}}
@attendance={{(changeset attendance this.AttendanceValidator)}}
@onSave={{this.saveAttendance}}
@onSave={{(queue this.validateChangeset this.saveAttendance)}}
@onDelete={{this.deleteAttendance}}
/>
{{/each}}
Expand Down

0 comments on commit 622e41c

Please sign in to comment.