Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

192
Views
Place Holder not visible react-number-format

Current behavior

Place holder is not visible for phone number mask

Expected behavior

Place holder to be visible and on focus the input format and mask to be applied while user is entering data

CodeSandbox link illustrating the issue

https://codesandbox.io/s/kind-jang-0wmx3i?file=/src/App.js

Please check the browsers where the issue is seen

  • [Version 98.0.4758.109 (Official Build) (x86_64) ] Chrome
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

It's because you have allowEmptyFormatting ={true}, which will format the box when empty and thus override the placeholder. Docs

You can see the placeholder if you set it to false. So confirming its a config output and not related to any browser

allowEmptyFormatting ={false}
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!