Replies: 2 comments
-
@cutterbl it seems like some part of your app is still using the old imask version where |
Beta Was this translation helpful? Give feedback.
0 replies
-
@uNmAnNeR Thank You. Got me digging and I found a conflicting dependency higher in my build chain. Resolving that took care of my issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a small package, for my app, that wraps
react-imask
, setting up defaultonAccept
andonComplete
handlers and applying it all to a styled input using theIMaskMixin
. A controlled input, wherevalue
andonChange
are passed in (onAccept
andonComplete
use theonChange
internally). Bothimask
andreact-imask
are dependencies, and not bundled into that package's final code.I use that wrapped component in another package of my application. My package,
imask
andreact-imask
are all dependencies. Within this package, I use my wrapped component for various masked inputs.In one such component (a date time picker), I pass in a custom
blocks
prop that I define in a separate file.Currently I am working all of this with a story in Storybook to troubleshoot. When all of this was with v6.0.7 it was working fine. But I just tried updating to v.7.5.0 and now I lose my masking and get the following in the console when attempting to type in the field.
I have tried reworking all of this in several different ways, but have been unsuccessful. Any assistance is greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions