Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fishx/intl-tel-input

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fishx/intl-tel-input

A JavaScript plugin for entering and validating international telephone numbers

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

说明

本组件是基于intl-tel-input 18.1.3版本进行改造,差异点如下:

  1. 对源代码进行了改造兼容了IE11
  2. countrySearch功能是移植了18.5版本的代码
  3. 无国家时显示地球图标是移植了19.5版本的代码
  4. 对兼容fish框架的表单校验进行了改造
  5. react组件版本功能移植了19.2版本的代码
  6. utils工具类取自20.0.3版本

使用说明

  • 打包fish代码:先打包正常的代码yarn build,然后build:fishbuild/js里的fish.intltelinput.js粘贴到fish框架
  • 打包react组件代码 build:react-only

注意事项

该组件react版本需要与主工程使用的react/react-dom版本一致,目前是peerDependencies中设置react 17.0.2版本与Fishx的模板保持一致,如有特殊需要可以升级为18.2.0以上版本。

Keywords

FAQs

Package last updated on 27 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc