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

Quickform erases previous selections in m2m_transfer and m2m_dropdown #65

Closed
thaxter opened this issue Sep 9, 2013 · 1 comment
Closed

Comments

@thaxter
Copy link
Contributor

thaxter commented Sep 9, 2013

when using a quickform with multiselect, only the added item value is passed to the "refresh_url" in xadmin.plugin.quick-form.js line 201, as data['obj_id']. The value of the currently selected options should be passed in comma-separated form, e.g. myfield=1,2,99. (see quickform.py line 25).

Because only the newly added item is passed, the form returned does not contain the previous selections and they are unselected.

@sshwsfc
Copy link
Owner

sshwsfc commented Sep 10, 2013

Thanks very much.

@sshwsfc sshwsfc closed this as completed Sep 10, 2013
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