Cleave.js: Prefix with Phone in React not working

Created on 7 Mar 2019  路  2Comments  路  Source: nosir/cleave.js

I have tried the following options both with and without React

{
    phone: true,
    phoneRegionCode: 'DE',
    prefix: '+49'
}

But it doesn't work with React as you see in this CodePen

However it does work without React as you can see in this Pen

I guess it is probably a bug or am I making anything wrong?

urgent bug

All 2 comments

Don't know how long it takes cloudflare to update 1.4.9, so your demo on codepen can work after that's updated.
https://cdnjs.cloudflare.com/ajax/libs/cleave.js/1.4.9/cleave-react.js

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Scit picture Scit  路  4Comments

periabyte picture periabyte  路  7Comments

shaileshrathod128 picture shaileshrathod128  路  6Comments

dan-kez picture dan-kez  路  5Comments

yardz picture yardz  路  6Comments