Skip to content
This repository has been archived by the owner on Oct 12, 2019. It is now read-only.

Formtastic::UnknownInputError #17

Open
ghost opened this issue Jan 17, 2012 · 5 comments
Open

Formtastic::UnknownInputError #17

ghost opened this issue Jan 17, 2012 · 5 comments

Comments

@ghost
Copy link

ghost commented Jan 17, 2012

Using Formtastic-bootstrap: 1.1.2
Using Formtastic 2.0.2

I'm getting an issue when using formtastic-bootstrap with rails3-jquery-autocomplete. For reference: crowdint/rails3-jquery-autocomplete#128. The issue occurs when using:
f.input :something :as => :autocomplete, :url => "some path"

Removing formastic.rb from config/initializers allows the page to render correctly(without the gem's styling) and the autocomplete functionality to work. Any ideas?

Trace
formtastic (2.0.2) lib/formtastic/helpers/input_helper.rb:353:in rescue in input_class'
formtastic (2.0.2) lib/formtastic/helpers/input_helper.rb:345:in input_class' formtastic (2.0.2) lib/formtastic/helpers/input_helper.rb:265:in input'`

@hendricius
Copy link

Same problem.

@hendricius
Copy link

Update, I was using the :country, which is not yet supported by this plugin.

@sdeframond
Copy link

@sodabrew
Copy link
Collaborator

sodabrew commented Feb 2, 2013

Please investigate and propose code to fix this!

@sodabrew
Copy link
Collaborator

Note to self, follow up on whether this still makes sense:
crowdint/rails3-jquery-autocomplete#128 (comment)

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

No branches or pull requests

3 participants