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
Since the Input component already supports and provides an example of using use-mask-input, I’m wondering how we should properly implement it with the DatePicker component.
I attempted to integrate use-mask-input with DatePicker on my own, but I couldn’t get it working as expected. It seems like the masking behavior doesn’t apply correctly when the DatePicker manages the input internally.
Has anyone successfully implemented use-mask-input with the DatePicker? If so, could you share an example or explain the recommended approach?
Any guidance would be greatly appreciated. Thanks!
The Input component documentation provides an example of using use-mask-input, but when trying to apply the same approach to DatePicker.Input, the masking does not behave as expected.
It seems that the DatePicker internally controls the input, which may be interfering with the mask.
This discussion was converted from issue #10693 on March 11, 2026 07:28.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Description
Since the Input component already supports and provides an example of using use-mask-input, I’m wondering how we should properly implement it with the DatePicker component.
I attempted to integrate use-mask-input with DatePicker on my own, but I couldn’t get it working as expected. It seems like the masking behavior doesn’t apply correctly when the DatePicker manages the input internally.
Has anyone successfully implemented use-mask-input with the DatePicker? If so, could you share an example or explain the recommended approach?
Any guidance would be greatly appreciated. Thanks!
Link to Reproduction
Steps to reproduce
withMask('99/99/9999')Chakra UI Version
3.34.0
Browser
Edge
Operating System
Additional Information
The Input component documentation provides an example of using use-mask-input, but when trying to apply the same approach to DatePicker.Input, the masking does not behave as expected.
It seems that the DatePicker internally controls the input, which may be interfering with the mask.
All reactions