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
Widgets are not loading correctly when inline extra = 0 #32
Comments
I will check it thanks. |
Hi @djheroez , I test extra=0 , it works fine in my demo. I think maybe it's depends on your codes. so please give me some details or demo source code better, :-) |
I can't replay the issue, @djheroez reopen it any time when you commit some detail info. |
Hi @sshwsfc , I was able to reproduce the issue in the demo site. If you change the MaintainInline in line 42 and set the extra to 0 the calendar widget works correctly but the time widget just after it does not. Thank you. |
Are you editing an existing record or adding a new one? For me it doesn't work when adding a new record. I don't think I have permissions to reopen issues, do I? |
Another thing I just found. If you define a charfield that you want to make a choicefield, you must define the choices in your model, if you do it in a form instead, something like this: gender = forms.ChoiceField(choices=[("M","Male"),("F","Female")]) the select widget does not render properly. |
Oh,I will check it. |
The newest version fix the issues. |
Hi there,
Somehow when I use inlines and define extra = 0 for my inline, the widgets for instance, the calendar and the cool dropdowns with search functionality stopped working, apparently they do not load correctly, but if I change to extra = 1 everything works fine again.
Best,
Dennis.
The text was updated successfully, but these errors were encountered: