All Projects → ispyropoulos → intl-tel-input-rails

ispyropoulos / intl-tel-input-rails

Licence: MIT license
intl-tel-input for the Rails asset pipeline

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to intl-tel-input-rails

international-telephone-input
Integration to Magento 2 a jQuery plugin for entering and validating international telephone numbers.
Stars: ✭ 26 (-25.71%)
Mutual labels:  jquery-plugin, input, phone-number, formatting, international-telephone, libphonenumber
Intl Tel Input
A JavaScript plugin for entering and validating international telephone numbers
Stars: ✭ 5,963 (+16937.14%)
Mutual labels:  validation, input, phone-number, formatting, international-telephone, libphonenumber
Phonenumberkit
A Swift framework for parsing, formatting and validating international phone numbers. Inspired by Google's libphonenumber.
Stars: ✭ 4,362 (+12362.86%)
Mutual labels:  validation, phone-number, formatting
Hyperform
Capture form validation back from the browser
Stars: ✭ 729 (+1982.86%)
Mutual labels:  validation, input
Validator.js
String validation
Stars: ✭ 18,842 (+53734.29%)
Mutual labels:  validation, input
Vue Phone Number Input
A phone number input made with Vue JS (format & valid phone number)
Stars: ✭ 407 (+1062.86%)
Mutual labels:  input, phone-number
ember-phone-input
An Ember.js component to handle international phone numbers
Stars: ✭ 22 (-37.14%)
Mutual labels:  input, phone-number
Laravel Phone
Phone number functionality for Laravel
Stars: ✭ 1,806 (+5060%)
Mutual labels:  validation, libphonenumber
Awesomevalidation
Android validation library which helps developer boil down the tedious work to three easy steps.
Stars: ✭ 1,093 (+3022.86%)
Mutual labels:  validation, input
Validation
Framework agnostic validation library for PHP
Stars: ✭ 146 (+317.14%)
Mutual labels:  validation, input
Nice Validator
Simple, smart and pleasant validation solution.
Stars: ✭ 587 (+1577.14%)
Mutual labels:  jquery-plugin, validation
python-valid8
Yet another validation lib ;). Provides tools for general-purpose variable validation, function inputs/outputs validation as well as class fields validation. All entry points raise consistent ValidationError including all contextual details, with dynamic inheritance of ValueError/TypeError as appropriate.
Stars: ✭ 24 (-31.43%)
Mutual labels:  validation, input
dockerfile-utils
A library and command line interface for formatting and linting Dockerfiles.
Stars: ✭ 17 (-51.43%)
Mutual labels:  validation, formatting
scrupulous
Simple inline form validation using HTML5 attributes that plays nicely with Bootstrap
Stars: ✭ 12 (-65.71%)
Mutual labels:  jquery-plugin, validation
Bootstrap Input Spinner
A Bootstrap 4 / jQuery plugin to create input spinner elements for number input
Stars: ✭ 176 (+402.86%)
Mutual labels:  jquery-plugin, input
Vue Formulate
⚡️ The easiest way to build forms with Vue.
Stars: ✭ 1,947 (+5462.86%)
Mutual labels:  validation, input
Libphonenumber For Php
PHP version of Google's phone number handling library
Stars: ✭ 3,938 (+11151.43%)
Mutual labels:  phone-number, libphonenumber
Decoders
Elegant validation library for type-safe input data (for TypeScript and Flow)
Stars: ✭ 246 (+602.86%)
Mutual labels:  validation, input
react-headless-phone-input
Headless phone number input component for React. Because phone numbers are hard.
Stars: ✭ 25 (-28.57%)
Mutual labels:  input, phone-number
CHRTextFieldFormatter
Provides UITextField formatting masks. Such as phone number and credit card number formatters.
Stars: ✭ 52 (+48.57%)
Mutual labels:  phone-number, formatting

intl-tel-input-rails

This gem is a simple wrapper for the intl-tel-input library.

Gem Version

Installation

Add this line to your application's Gemfile:

gem 'intl-tel-input-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install intl-tel-input-rails

Usage

Add the following directive to your Javascript manifest file:

//= require intlTelInput

Coffeescript flavor:

#= require intlTelInput

If you need to initialize the plugin with the utilsScript (enable formatting/validation), add one more line:

//= require libphonenumber/utils

Add the following directive to your Stylesheet manifest file:

@import "intlTelInput";

Initialize the plugin when needed. Example:

$("#id_of_your_input").intlTelInput({
    formatOnInit: true,
    separateDialCode: true,
    utilsScript: "assets/libphonenumber/utils.js"
});

More options for initializing the plugin. You can ignore the utilsScript option if you have already required the libphonenumber/utils as stated above.

Versioning

intl-tel-input-rails 12.3.0.x == intl-tel-input 12.3.0

Where x is used for gem fixes while keeping the same original library version.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].