formtastic-bootstrap icon indicating copy to clipboard operation
formtastic-bootstrap copied to clipboard

Formtastic::UnknownInputError

Open ghost opened this issue 13 years ago • 5 comments

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: https://github.com/crowdint/rails3-jquery-autocomplete/issues/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'`

ghost avatar Jan 17 '12 03:01 ghost

Same problem.

hendricius avatar Feb 06 '12 00:02 hendricius

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

hendricius avatar Feb 12 '12 21:02 hendricius

https://github.com/crowdint/rails3-jquery-autocomplete/issues/128#issuecomment-4572553

sdeframond avatar Mar 19 '12 13:03 sdeframond

Please investigate and propose code to fix this!

sodabrew avatar Feb 02 '13 17:02 sodabrew

Note to self, follow up on whether this still makes sense: https://github.com/crowdint/rails3-jquery-autocomplete/issues/128#issuecomment-10545152

sodabrew avatar Jan 16 '15 17:01 sodabrew