Skip to content

macedo/masked_input-rails

Repository files navigation

MaskedInputRails

This is a masked input plugin for the jQuery javascript library. It allows a user to more easily enter fixed width input where you would like them to enter the data in a certain format (dates,phone numbers, etc). See more at: http://digitalbush.com/projects/masked-input-plugin/

Installation

Add this line to your application's Gemfile:

gem 'masked_input-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install masked_input-rails

Usage

In the application.js file add the following line to use latest version (1.3.1):

//= require jquery.maskedinput

or to specify plugin version:

//= require jquery.maskedinput-1.3

Supported versions

  • jquery.maskedinput (1.3.1)
  • jquery.maskedinput-1.3 (1.3)

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Easy way to use input masked plugin on rails

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages