-
Notifications
You must be signed in to change notification settings - Fork 35
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
feat(kit): Number
allows to enter full width numbers
#864
Conversation
Maybe I need to make new option to accept them, due to need of transformation of full width numbers... |
Now this should work as I expect |
OOF |
Trying to run linters |
Lint done |
projects/kit/src/lib/masks/number/processors/create-fullwidth-to-halfwidth-preprocessor.ts
Outdated
Show resolved
Hide resolved
Can you run CIs again? Probably it is not code issue |
cspell says "fullwidth" is not known, then what would be great to say...? |
Okay, well, I added |
@rikusen0335 please revert your last commit |
Okay |
Reverted |
…-to-halfwidth-preprocessor.ts
This reverts commit 3896d1e.
Fixed. Confirmed thousand separator and fullwidth replacement test works at least, and ran linter, prettier too |
local cspell still saying halfwidth is unknown word. Is this okay? |
@rikusen0335 https://github.com/taiga-family/maskito/actions/runs/7437137144/job/20234500144?pr=864 passed, you forgot run |
Oh, I have to run |
@rikusen0335 after the New Year holidays (after 9 Jan), that guys will review you |
Yup, thank you |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't even know about this localization peculiarity. It is great to know it now, thanks!
Our team really appreciate your help ❤️
projects/kit/src/lib/masks/number/processors/create-fullwidth-to-halfwidth-preprocessor.ts
Outdated
Show resolved
Hide resolved
projects/kit/src/lib/masks/number/processors/create-fullwidth-to-halfwidth-preprocessor.ts
Outdated
Show resolved
Hide resolved
Number
allows to enter full width numbers
Thank you for reviewing! I really appreciate you and team created really great stuff, also it's really clean lib I've ever seen! Requested changes done. |
projects/kit/src/lib/masks/number/utils/tests/to-half-width-number.spec.ts
Outdated
Show resolved
Hide resolved
This new feature will be released in Maskito |
PR Type
What kind of change does this PR introduce?
What is the current behaviour?
maskitoNumberOptionsGenerator
does not accept japanese (also chinese?) full width numbers like:0123456789
Close #865
What is the new behaviour?
It accepts full width numbers.