Skip to content

Commit

Permalink
On key up also update the submitted values
Browse files Browse the repository at this point in the history
The on change is still needed, for mouse updates.
The on key up checks without focus lose.
  • Loading branch information
reiterl committed Dec 18, 2024
1 parent 1a0e7d0 commit 0c0f861
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ <h4 class="poll-delegation-title">
[formControl]="getFormControl(option.id)"
max="{{ poll.max_votes_per_option }}"
(change)="saveMultipleVotes(option.id, $event, delegation)"
(keyup)="saveMultipleVotes(option.id, $event, delegation)"
/>
<mat-error>
{{ getErrorInVoteEntry(option.id) }}
Expand Down

0 comments on commit 0c0f861

Please sign in to comment.