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

:id_element does not work with multiple id's #70

Open
pielambr opened this issue Aug 12, 2016 · 2 comments
Open

:id_element does not work with multiple id's #70

pielambr opened this issue Aug 12, 2016 · 2 comments

Comments

@pielambr
Copy link

When using :id_element and multiple:true on an input field, the targetted id_element field just seems to get cleared everytime.
It works fine with single values.

<%= f.text_field :category_ids, id: 'category_ids' %>
<%= f.autocomplete_field :category_names, autocomplete_category_title_categories_path,
            :id_element => '#category_ids', 'data-delimiter' => ',', :multiple => true %>
@mulite
Copy link

mulite commented Jan 18, 2018

Did you find a solution? I have the same Problem

@helderasmoreira
Copy link

I guess that there's not much movement around this.
Any workaround? Any solution?

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

3 participants