Bug #92382
Updated by Christian Buelter about 4 years ago
If record has inline elements with a "maxitems" value configured and the number of elements already assigned is "maxitems" - 1, the buttons "Add button "add image" and "Select & upload files" are is missing for the last added element. If "maxitems" is set to "1", the problem is already visible when adding one inline element. The button does appear after saving the parent element though. *Expected behaviour* The buttons "Add image" and "Select & upload files" should appear right away when an inline element is added, even if "maxitems" is set to 1, or the number of already assigned element is maxitems-1. *Steps to reproduce (using EXT:news as an example)* 1. Install EXT:news 2. Set the following PageTS <pre> TCEFORM.tx_news_domain_model_news.content_elements.config.maxitems = 1 TCAdefaults.tt_content.CType = image </pre> 3. Add a content element in tab "Content elements" of the news record. A new content element of type "image" appears, but the "Add image" and "Select & upload files" are missing. Tested in TYPO3 10.4.6 and news 8.4.0