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

Selectable doesn't work on newly added rows. #205

Open
pod2metra opened this issue Apr 10, 2019 · 0 comments
Open

Selectable doesn't work on newly added rows. #205

pod2metra opened this issue Apr 10, 2019 · 0 comments

Comments

@pod2metra
Copy link

pod2metra commented Apr 10, 2019

I'm using grappelli and nested inlines, newly added inline row don't do anything while typing, but if this inline has already been saved, then on reload this page all completions will work correctly.

    $(document).on('formset:added', function(event, $row, formsetName){
      window.bindSelectables($row);
    });

I try to handle add new line via this snippet, but window.bindSelectables does nothing.

@pod2metra pod2metra changed the title Selectable doesn't work on newly aded rows. Selectable doesn't work on newly added rows. Apr 10, 2019
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

1 participant