maurcarvalho / jquery_mask_rails

A Rails version of jQuery Mask Plugin that make masks on form fields and HTML elements easy

Home Page:https://goo.gl/BeqVFv

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JQuery Mask for Rails

A Rails gem of the jQuery Plugin that make masks on form fields and HTML elements.

Build Status Code Climate

Installation

Add this line to your application's Gemfile:

gem 'jquery_mask_rails', '~> 0.1.0'

And then execute:

$ bundle

Or install it yourself as:

$ gem install jquery_mask_rails

And then insert into your application.js

//= require jquery.mask

Usage

Russian

Compatibility

jQuery Mask Plugin has been tested with jQuery 1.7+ on all major browsers:

  • Firefox 2+ (Win, Mac, Linux);
  • IE7+ (Win);
  • Chrome 6+ (Win, Mac, Linux, Android, iPhone);
  • Safari 3.2+ (Win, Mac, iPhone);
  • Opera 8+ (Win, Mac, Linux, Android, iPhone).

Problems or Questions?

Before opening a new issue take a look on those frequently asked questions:

Problems with old versions of Android keyboard

Negative numbers, or currency related problems

Prefix or sufix on the Mask

Add validation?

Field type number, email not working?

Want to keep the placeholder as the user types?

Bugs?

Did you read our docs? Yes? Cool! So now... make sure that you have a functional jsfiddle exemplifying your problem and open an issue for us. Don't know how to do it? Use this fiddle example.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/maurcarvalho/jquery_mask_rails. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Credits

This is a gem version of JQuery mask.

About

A Rails version of jQuery Mask Plugin that make masks on form fields and HTML elements easy

https://goo.gl/BeqVFv

License:MIT License


Languages

Language:Ruby 93.9%Language:Shell 6.1%