No commit activity in last 3 years
No release in over 3 years
Easily add jquery inputmask to your ActiveAdmin.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

ActiveAdmin jQuery Inputmask

Easily add jquery inputmask to your ActiveAdmin.

For more usage info, please take a look at active_admin-jquery_inputmask

Installation

1. Include to your Gemfile

gem 'active_admin-jquery_inputmask'

2. Require javascript dependency

//= require active_admin/inputmask

3. Load locale or other inputmask file as you want

//= require active_admin/inputmask/locales/pt-BR
//= require inputmask/phone-codes/phone-us

p.s. it auto adds jquery as a dependency in your project

Usage

f.input :created_at, mask: 'datetime'
f.input :date, mask: { alias: 'datetime', inputformat: 'dd/mm/yyyy' } 

Maintainer

Dhyego Fernando