medly-components
medly-components copied to clipboard
bug: masking is not working for initial value of the TextField
Describe the bug
Provide a clear and concise description of the bug.
To Reproduce
Provide step-by-step instructions to reproduce the bug:
- to TextField, pass the masking of the phone number
(XXX) XXX XXXX
and pass the ten-digit phone number as the value to the TextField
for the initial value, the masking is not working, but when the TextField is edited, the values in the TextField will be shown as for masking format
Expected behavior
Provide a clear and concise description of the behaviour expected in the above-mentioned scenario.
Screenshots
If applicable, provide screenshots to explain the bug.
Package versions
- @medly-components/core :
- @medly-components/forms :
- @medly-components/icons :
- @medly-components/layout :
- @medly-components/loaders :
- @medly-components/theme :
- @medly-components/utils :
Additional context
Provide any additional information about the bug or the bug scenario.
Possible duplicate of #650