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

Not initialized with ActiveAdmin 1.1 #16

Open
micleclickme opened this issue Sep 29, 2017 · 1 comment
Open

Not initialized with ActiveAdmin 1.1 #16

micleclickme opened this issue Sep 29, 2017 · 1 comment

Comments

@micleclickme
Copy link

ActiveAdmin uses jQuery3. So $(document).on('ready', function) is removed.
You should init with $(document).ready() call.
See https://github.com/activeadmin/activeadmin/blob/5ae2e3db5bf69e94ea8c205b83f04799154ceee3/app/assets/javascripts/active_admin/initializers/datepicker.es6#L14-L16 for example

@NechiK
Copy link

NechiK commented Dec 22, 2017

I have faced this problem as well. So you can use my fork https://github.com/NechiK/activeadmin-select2

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

2 participants