fix(TournamentGroupsTab): allow empty values in max group size input normalization
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 42s
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user