-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Variable length Text Box Mask #753
Comments
For me the problem the user will run into is when they click on the maskedTextBox the cursor shows up on the right side of the mask, so they will naturally go backspace to enter into the 'mask' and enter their single digit, which if they have a multiply digit mask will not be recorded. Also trying to explain that I have tried this before |
@ZingPow it was designed for the user to click on any character on the textbox and the cursor will show at the selected character, the mask isn't by default setting the cursor to the right, you just clicking at the end of the box but I've a better solution if the textbox is empty and it got focus the cusror should start at the beginning else do same behavior. (Will create a bug for this) |
@deltakosh @hermitdave @skendrot @ScottIsAFool |
This sounds like a problem for a RegEx attached property |
I guess we can add RegEx attached property with another property called isValid and we validate on focus this property and set the IsValid attached property of the textbox so the user can validate on submit !! |
I like the idea of having a second attached property that works with a regex instead of a mask. |
it was requested multiple times to have a variable length textbox mask to allow the following examples:
etc :)
the original request was #737 and #746
The text was updated successfully, but these errors were encountered: