Keep B.amount_seats.len() amount of selected rowers upon changing the boat from A to B #48

Closed
opened 2023-10-30 15:52:52 +01:00 by PhilippHofer · 2 comments
PhilippHofer commented 2023-10-30 15:52:52 +01:00 (Migrated from gitlab.com)

There's commented out code in frontend/main.ts (currently lines 90-98). Unfortunately, I get the following bug:

  1. Select small(er) boat of size N
  2. Supply N rowers
  3. Select larger boat of size M

Actual behaviour: Can't add M-N people as it keeps telling me "Nur N Ruderer können hinzugefügt werden."
Expected behaviour: I should be able to add the people

If I print choiceObjects["newrower"].config.maxItemCount in the browsers' console, I get the correct value (M).

There's commented out code in `frontend/main.ts` (currently lines 90-98). Unfortunately, I get the following bug: 1. Select small(er) boat of size N 2. Supply N rowers 3. Select larger boat of size M Actual behaviour: Can't add `M-N` people as it keeps telling me "Nur N Ruderer können hinzugefügt werden." Expected behaviour: I should be able to add the people If I print `choiceObjects["newrower"].config.maxItemCount` in the browsers' console, I get the correct value (`M`).
PhilippHofer commented 2023-10-30 15:54:06 +01:00 (Migrated from gitlab.com)

changed the description

changed the description
PhilippHofer commented 2023-10-30 15:55:05 +01:00 (Migrated from gitlab.com)

mentioned in issue #44

mentioned in issue #44
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Ruderverein-Donau-Linz/rowt#48
No description provided.