Skip to content

fix: Always trim strings to validate separately if required#193

Merged
patchzyy merged 1 commit into
TeamWheelWizard:devfrom
matellush:fix/space-handling-in-validation
Sep 15, 2025
Merged

fix: Always trim strings to validate separately if required#193
patchzyy merged 1 commit into
TeamWheelWizard:devfrom
matellush:fix/space-handling-in-validation

Conversation

@matellush

Copy link
Copy Markdown
Collaborator

Purpose of this PR:

Fix differences in name validation related to the use of Trim() on the validated strings.

How to Test:

Check the rename/naming popups for mod names, license names, and also those (including the "complex" popup) of the Mii editor for their behaviors with leading or trailing spaces with respect to the length of given names.

What Has Been Changed:

Drop Trim() from the TextInputView – now the validation methods should themselves trim the text for length checks etc.

Related Issue Link:

No related issue

Checklist before merging

  • You have created relevant tests

@patchzyy patchzyy merged commit f7c3a2a into TeamWheelWizard:dev Sep 15, 2025
1 check passed
@matellush matellush deleted the fix/space-handling-in-validation branch September 15, 2025 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants