Skip to content

fix(CustomTextModal): Resolve limit validation error on mode switch (@akartsky)#8008

Merged
Miodec merged 2 commits into
monkeytypegame:masterfrom
akartsky:master
Jun 2, 2026
Merged

fix(CustomTextModal): Resolve limit validation error on mode switch (@akartsky)#8008
Miodec merged 2 commits into
monkeytypegame:masterfrom
akartsky:master

Conversation

@akartsky
Copy link
Copy Markdown
Contributor

@akartsky akartsky commented May 23, 2026

Fixes bug #8007


Root cause :

Looks like there is a "limitSection" (hidden in UI) which was also being set during mode switch. Resulting in validation error.

Testing :

I temporarily made the hidden limit 'sections' input visible just to debug and validate the fix

@monkeytypegeorge monkeytypegeorge added the frontend User interface or web stuff label May 23, 2026
@akartsky akartsky changed the title fix(CustomTextModal): Resolve limit validation error on mode switch fix(CustomTextModal): Resolve limit validation error on mode switch (@akartsky) May 23, 2026
@Miodec
Copy link
Copy Markdown
Member

Miodec commented Jun 2, 2026

Slight tweak - we need to either apply section or word limit based on the pipeDelimiter value. Thanks for the pr.

@Miodec Miodec merged commit 562a17a into monkeytypegame:master Jun 2, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend User interface or web stuff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants