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

MudTextField blocks input with applied custom RegexMak #8993

Open
1 of 2 tasks
bnoffer opened this issue May 17, 2024 · 0 comments
Open
1 of 2 tasks

MudTextField blocks input with applied custom RegexMak #8993

bnoffer opened this issue May 17, 2024 · 0 comments

Comments

@bnoffer
Copy link

bnoffer commented May 17, 2024

Bug type

Component

Component name

MudTextField

What happened?

I am attempting to apply a Mask for a international phone number:

IMask phoneMask = new RegexMask(regex: @"^\+[0-9]{6,14}$");

However the MudTextField does not allow any input after the Mask is applied.

Expected behavior

I should be able to enter the phone number like: +1123123456

Reproduction link

https://try.mudblazor.com/snippet/cYmIYJPBwMpDzsdE

Reproduction steps

See reproduction Link.

Relevant log output

No response

Version (bug)

6.19.1

Version (working)

No response

What browsers are you seeing the problem on?

Chrome, Edge

On which operating systems are you experiencing the issue?

Windows, macOS

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct
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

1 participant