Last active
January 25, 2016 09:01
-
-
Save YumaInaura/d11ed8eb014e6d8ce2b5 to your computer and use it in GitHub Desktop.
ActiveAdmin | filter に as: :string を指定したら、短すぎる maxlength が作られてしまう ref: http://qiita.com/Yinaura/items/3e70f9958590bd0e5e3f
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ActiveAdmin.register Example do | |
| filter :id, as: :string | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ActiveAdmin.register Example do | |
| filter :id, as: :string | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <input type="xxxx" maxlength="4"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment