Bug #17583
closedmaxitems influences visibility of "Create new" link if set to "maxitem => 1"
0%
Description
I configured the TCA for n:m relations and displaying both selector and "Create new"-Links.
"brand" => Array (
"exclude" => 1,
"label" => "LLL:EXT:np_status_input/locallang_db.xml:tx_npstatusinput_segment.brand",
"config" => Array (
"type" => "inline",
"foreign_table" => "tx_npstatusinput_brand2segment",
"foreign_field" => "segmentid",
"foreign_label" => "brandid",
"foreign_selector" => "brandid",
"maxitems" => 2,
"appearance" => Array (
"useCombination" => 1,
),
"size" => 3,
)
),
On the first input level, everything seems normal. When creating a new "brand"-entry, all "create new" links from this form disappear, when "maxitems = 1".
In my opinion, this should not be the case.
(issue imported from #M6270)
Files