fix(TournamentGroupsTab): allow empty values in max group size input normalization
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 42s

- Updated the normalization function in TournamentGroupsTab to permit empty values for max group size input, enhancing flexibility for user input.
- This change improves the user experience by allowing users to clear the input field without triggering validation errors.
This commit is contained in:
Torsten Schulz (local)
2026-04-29 09:35:03 +02:00
parent 715980d49c
commit d84438f52c

View File

@@ -348,7 +348,7 @@ export default {
this.$emit('modus-change');
},
onMaxGroupSizeBlur(rawValue) {
const normalized = this.normalizeNumberInput(rawValue, { min: 1, allowEmpty: false });
const normalized = this.normalizeNumberInput(rawValue, { min: 1, allowEmpty: true });
this.$emit('update:maxGroupSize', normalized);
},
groupRankingsForGroup(group) {