medly-components icon indicating copy to clipboard operation
medly-components copied to clipboard

bug: masking is not working for initial value of the TextField

Open samueljohnprasad opened this issue 2 years ago • 1 comments

Describe the bug

Provide a clear and concise description of the bug.

To Reproduce

Provide step-by-step instructions to reproduce the bug:

  1. 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.

samueljohnprasad avatar Jul 22 '22 04:07 samueljohnprasad

Possible duplicate of #650

abhishekashyap avatar Aug 18 '22 12:08 abhishekashyap