-
-
Notifications
You must be signed in to change notification settings - Fork 351
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
"auto_choose=False" is not working #242
Comments
I don't know if this is the exact fix for this issue but I found a code modification that seems to be working for me. I changed the following function in the 'chainedfk.js' file:
To the function below. I found via browser developer console that "true" or "false" would sometimes be a boolean and sometimes be a string which would change the logic for this function:
I hope this helps the bug fixing efforts. |
@czechmate247 Thanks for the help! I've added your patch to my PR #250. @fuatu Please check if my personal |
You are most welcome and thank you for implementing this so quickly! I will not be able to check your branch for a few days because I am away from my office. I don’t want to keep you from submitting the changes though so please feel free! Thanks again.
… On Jan 21, 2018, at 6:40 PM, blag ***@***.***> wrote:
@czechmate247 <https://github.com/czechmate247> Thanks for the help! I've added your patch to my PR #250 <#250>.
@fuatu <https://github.com/fuatu> Please check if my personal master branch <https://github.com/blag/django-smart-selects> fixes this for you and report back. If it does I'll merge it in (as mentioned above, please see PR #250 <#250> for progress on that) and cut a release to PyPI so you can install it easier in production. Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#242 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AQYLFqtgqa-YaBc8HJVIqC72SuFbgoNMks5tM8r-gaJpZM4Qy6eE>.
|
Released to PyPI and GitHub in version |
Even auto_choose is false when there is one record it selects the record automatically both in template and in django admin.
The text was updated successfully, but these errors were encountered: