We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Just a quick heads-up and suggestion for the readme:
Using :id_element => "#client_id" with formtastic will not yield the expected result (will not work).
:id_element => "#client_id"
The id_element has to be wrapped like this:
id_element
f.input :client_name, input_html: { data: { :id_element => "#client_id" } }, :as => :autocomplete, url: autocomplete_client_name_clients_path
Took me a few minutes to figure out, might help someone with the same problem.
The text was updated successfully, but these errors were encountered:
Thanks, this is a super important detail should definitely be in the documentation.
Sorry, something went wrong.
No branches or pull requests
Just a quick heads-up and suggestion for the readme:
Using
:id_element => "#client_id"
with formtastic will not yield the expected result (will not work).The
id_element
has to be wrapped like this:Took me a few minutes to figure out, might help someone with the same problem.
The text was updated successfully, but these errors were encountered: