Skip to content

Conversation

@Dtsiantaris
Copy link
Contributor

This PR fixes a behavior in masked QInput where you have a mask, like '#:0:0:###' and you cannot freely enter '0'(Reported in #17980).
Essentially the buggy behavior is that you cannot freely enter a character that is a literal inside your mask.

The lines I removed made an extra comparison between the value that was typed and the value of the mask. If matched it incremented the index of the loop(or decremented in the reverseMask function) making it impossible to type a character that already exists as a string literal inside your mask.

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Documentation
  • Code style update
  • Refactor
  • Build-related changes
  • Other, please describe:

Does this PR introduce a breaking change?

  • Yes
  • No

The PR fulfills these requirements:

  • It's submitted to the dev branch (or v[X] branch)
  • When resolving a specific issue, it's referenced in the PR's title (e.g. fix: #xxx[,#xxx], where "xxx" is the issue number)
  • It's been tested on a Cordova (iOS, Android) app
  • It's been tested on an Electron app
  • Any necessary documentation has been added or updated in the docs or explained in the PR's description.

If adding a new feature, the PR's description includes:

  • A convincing reason for adding this feature (to avoid wasting your time, it's best to start a new feature discussion first and wait for approval before working on it)

Other information:

@github-actions
Copy link

UI Tests Results

    1 files     98 suites   40s ⏱️
1 031 tests 1 031 ✅ 0 💤 0 ❌
1 050 runs  1 050 ✅ 0 💤 0 ❌

Results for commit 4cae729.

@rstoenescu rstoenescu merged commit 189c689 into quasarframework:dev Jul 20, 2025
3 checks passed
@rstoenescu
Copy link
Member

Thanks for contributing!

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