Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maxlength 4 for integer attributes error #1327

Open
IrinaBron opened this issue Jan 13, 2021 · 0 comments
Open

maxlength 4 for integer attributes error #1327

IrinaBron opened this issue Jan 13, 2021 · 0 comments

Comments

@IrinaBron
Copy link

IrinaBron commented Jan 13, 2021

Hi,

I'm running into this closed issue again when I try to cast an int as another type. (#728). This seems to have coincided with upgrading Rails to 5.2.4.4.

ex: f.input :value, as: :string

To bypass this, I've been manually adding input_html: { maxlength: "" } to each input as a temporary fix.

Specs:
Rails 5.2.4.4
Ruby 2.5.8p224
ActiveAdmin 1.4.3
Formtastic 3.1.5

Any help highly appreciated! Thank you 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant