material-ui-phone-number icon indicating copy to clipboard operation
material-ui-phone-number copied to clipboard

Bug in typescript regions

Open enoh-barbu opened this issue 3 years ago • 2 comments
trafficstars

Current definition in TS for regions is: regions?: [string] | string;

Therefore I can not assing many regions, due to TS error

image

The fix needed is to change it to: regions?: string[] | string;

enoh-barbu avatar Jun 13 '22 16:06 enoh-barbu

Here, looks like this package is no more maintained.. :/

This package (https://github.com/viclafouch/mui-tel-input) handles this problem and is well maintained

viclafouch avatar Jul 03 '22 10:07 viclafouch

@viclafouch How did you figured out that is no longer maintained?

enoh-barbu avatar Jul 04 '22 05:07 enoh-barbu