Closed openrijal closed 3 years ago
I have a double ChainedForeignKey fields, and on update on Django admin, the grand child model doesn't render value (looks like unselected). Manually updated code according to this PR fixed the issue. Hope this PR can be merged soon.
@manelclos @blag Is there any chance to merge it ? It solves problem with chained dropdowns in Admin edit views.
is there any chance to merge this PR and release new version?
This PR is against js-unlinting-fixes
branch which hasn't been updated in two years, and probably not merged because of problems on that branch. Releases are based off master. Could you try current master and see if the fix still applies?
As I suspected, applying this change on master breaks the location example in the test_app: the third select is no longer updated and you are left in an inconsistent state.
Please take into account that when updating a form control using javascript no change
signal is generated, and current version of django-smart-selects seems to rely on manually emitting the signal.
Hope this helps.
If anyone using the old js-unlinting-fixes
tries to update to current master
has any problems, I would be happy to help. We can document the process if any special change is needed.
closing due to inactivity, please reopen if necessary.
use browser's capabilities to trigger changes