Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jumps over to the next block on invalid enum character #1007

Closed
adamberecz opened this issue Mar 1, 2024 · 1 comment
Closed

Jumps over to the next block on invalid enum character #1007

adamberecz opened this issue Mar 1, 2024 · 1 comment

Comments

@adamberecz
Copy link

Describe the bug
Jumps over to next block (and removes current block) if a non-valid character is typed in an enum block (eg. x on ['aaa', 'bbb']).

To Reproduce
https://stackblitz.com/edit/vitejs-vite-yr8pcz?file=main.js

Expected behavior
It should stay at the current block until a valid character is typed.

Environment:

  • IMask version: 7.4.0
  • Tested in Chrome & FireFox on Mac

Additional context
This issue was brought up earlier (#191 & #692) and seems to have been resolved in v6, but it apparently came back in v7.

ps: thank you for all your work on this library!

@uNmAnNeR
Copy link
Owner

uNmAnNeR commented Mar 2, 2024

@adamberecz nice catch. thanks

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

No branches or pull requests

2 participants