You MUST use this template when reporting issues. Please make sure you follow the checklist and fill in all of the information sections below.
All versions of django-smart-selects prior to version 1.2.8 are vulnerable to an XSS attack as detailed in issue 171. As a result, all previous versions have been removed from PyPI to prevent users from installing insecure versions. All users are urged to upgrade as soon as possible.
Checklist
Put an x in the bracket when you have completed each task, like this: [x]
[X] This issue is not about installing previous versions of django-smart-selects older than 1.2.8. I understand that previous versions are insecure and will not receive any support whatsoever.
[X] I have verified that that issue exists against the master branch of django-smart-selects.
[X] I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
[X] I have debugged the issue to the smart_selects app.
[X] I have reduced the issue to the simplest possible case.
[ ] I have included all relevant sections of models.py, forms.py, and views.py with problems.
Tried using Admin TabularInline on my models using smart-selects
The default number of rows kept at 1 ("extra = 1")
The inline is working normally (with the filled / selected dependent field value) and also is able to save data as expected.
Actual behavior
Adding a new row fails to show the dependent field value on selection as experienced in the first row (correctly and as expected).
If the value of "extra" is changed (say, to 2 or 3 or such) all the rows produced in the inline demonstrates the smart-selects behavior correctly. While adding a new row fails.
Expected behavior
The dependent field should show the value corresponding to the chained field value selected (as normally expected and demonstrated)
Using:
Python: 3.6
Django: 2.0.6
smart-selects: 1.5.4
js-unlinting-fixes installed
P.S. Found a similar issue on Git but that was about django-ajax-selects.
You MUST use this template when reporting issues. Please make sure you follow the checklist and fill in all of the information sections below.
All versions of django-smart-selects prior to version 1.2.8 are vulnerable to an XSS attack as detailed in issue 171. As a result, all previous versions have been removed from PyPI to prevent users from installing insecure versions. All users are urged to upgrade as soon as possible.
Checklist
Put an
x
in the bracket when you have completed each task, like this:[x]
master
branch of django-smart-selects.smart_selects
app.models.py
,forms.py
, andviews.py
with problems.Steps to reproduce
extra = 1
")Actual behavior
Expected behavior
Using:
P.S. Found a similar issue on Git but that was about django-ajax-selects.