﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
12704	Wrong interpretation of extra clause in ModelAdmin with new admin UI	Russell Keith-Magee	nobody	"The new javascript-enabled admin UI appears have an unusual interpretation of the 'extra' clause on a ModelAdmin.

The current code interprets 'extra = N' as ""allow the user to add no more than N extra rows. The user must press (+ add another XXX) to add the first inline.

I would have thought the interpretation would have been ""instantiate the form with with N empty extra rows"". The task of constraining the number of allowed inlines is the job of the 'max_num' clause.

The admin UI should always show N blank inputs (for extra = N), as long as that wouldn't exceed the max_num. The user should be able to fill in up to N inlines before needing to press the (+ add another) button.

If I'm incorrect, then the second failing test reported by #12703 needs to be fixed by accounting for the 5 fields (and missing default date) that are no longer on the form.
"		closed	contrib.admin	dev		duplicate		Florian Apolloner	Design decision needed	0	0	0	0	0	0
