Opened 9 years ago

Last modified 8 years ago

#12692 closed

shortcoming in the new admin inlines — at Initial Version

Reported by: Florian Apolloner Owned by: nobody
Component: Contrib apps Version: master
Severity: Keywords: admin, js, inlines
Cc: Jannis Leidel, Florian Apolloner Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Let me describe the situation: In the current admin you can specify max_num and extra for inlines. Before r12297 this meant that you would get the current data from the database + extra as long as it stays below max_num. If you were still below max_num you had to save the page to get extra new fields (this could be repeated until you reached the limit). This behaviour is currently implemented with the js too; but I think (as js is a usability enchancement) you should be able to add as many rows until you reach max_num not TOTAL-FORMS (which is rows+extra while <= max_num). To get this working I guess we would need to pass max_num to the js so it can decide when to stop.

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top