You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had the same issue and was able to resolve it. If you're using the Chakra-UI Input component, use the as prop to change the rendered element and combine InputMask and Chakra-UI Input props instead of directly putting the Input component as a child of InputMask.
Error stack:
Unhandled Runtime Error
TypeError: Cannot read properties of undefined (reading 'disabled')
Call Stack
eval
node_modules\react-input-mask-next\lib\react-input-mask.development.js (340:0)
Array.filter
validateChildren
node_modules\react-input-mask-next\lib\react-input-mask.development.js (339:0)
InputMask
node_modules\react-input-mask-next\lib\react-input-mask.development.js (1004:0)
And im not even using the disabled prop
The text was updated successfully, but these errors were encountered: