I have some problems with Simple_form and acts-as-taggable-on.
I have a object "Pictogram" with some tags like "door" and "emergency"
I use this code in my form
= f.input :tag_list
When I edit my Pictogram the system delete my comma and display my text_field like that "door emergency" if i save my two tags are deleted and replaced by one tag "door emergency"
I'm looking for a solution on the net and many peoples advise to create a custom input in simple_form but I don't where to begin.
I create a file tag_input.rb in app/inputs and I add this code
class TagInput < SimpleForm::Inputs::Base
def input(wrapper_options)
end
end
But now I'm lost.
Sorry for my English, it's not my native language