Erlan Sobakin

Results 16 comments of Erlan Sobakin

@andr-04 Нет, там сложная библиотека работающая с [libphonenumber](http://libphonenumber.googlecode.com/), думаю так просто не получится заставить вашу работать с ней... Возможно вы бы смогли адаптировать свою... (чтобы с его либы получать формат...

@andr-04 Он взял libphonenumber и реализовал очень удобные вещи! Посмотрите пример [Lookup user's country](http://intl-tel-input.com/node_modules/intl-tel-input/examples/gen/default-country-ip.html), [National Mode](http://intl-tel-input.com/node_modules/intl-tel-input/examples/gen/national-mode.html), [Validation](http://intl-tel-input.com/node_modules/intl-tel-input/examples/gen/is-valid-number.html) ! Особенно полезен National Mode, когда номер можно вводить разными вариантами, например РФ:...

До ввода: [![Заявка на просмотр от агента.png](https://s13.postimg.org/tw1ya3y93/image.png)](https://postimg.org/image/3nqtkqe5f/) После: [![Заявка на просмотр от агента2.png](https://s9.postimg.org/eb7k69plr/image.png)](https://postimg.org/image/twovq81jv/) Выбор страны: [![Заявка на просмотр от агента3.png](https://s13.postimg.org/yxqw9qxk7/image.png)](https://postimg.org/image/6kvejabtv/)

@andr-04 [Версию 7.1.1 посмотрите.](https://github.com/jackocnr/intl-tel-input/releases/tag/v7.1.1)

@noxxer > Действующая реализация есть в комплексе с коммерческим валидатором: > > http://formvalidation.io/examples/validating-international-phone-numbers/ Там просто взят плагин International Telephone Input ниже 8 версии! Вот например в 7.1.1 есть автоформатирование! >...

@randomsuffer так и не попробывал. а какой флажок (флаги страны и так же есть) ?

@randomsuffer попутал, нету. Если получится объединить, напишите тут.

I also got an error in Node 7.0.0: > DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead. Variable in file image-diff\node_modules\tmp\lib\tmp.js in 17 line: `tmpDir = os.tmpDir || _getTMPDir,`

Related issue #4813

> You probably have selinux activated on only one of them. Did you read my stackoverflow post? It is listed above. @itoutcome It's not safe to disable SE Linux.