Project

General

Profile

Actions

Feature #61031

closed

Implement flash message warning when max number of items is reached in IRRE field

Added by Nikola Stojiljković over 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
Start date:
2014-08-18
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Tomas Norre Mikkelsen (from internal ticket):
When we have set the limit for FAL items like this:

'thumb' => array(
            'exclude' => 1,
            'label' => 'LLL:EXT:sonyswt_entertainment/Resources/Private/Language/locallang_db.xml:tx_sonyswtentertainment_domain_model_games.thumb',
            'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('thumb',
                            array(
                                'minitems' => 0,
                                'maxitems' => 1
                            )
                    ),
        ),

I should see a flash message or have the buttons disabled so i cannot add new/extra images references.
Right now you can select and image, but nothing happens you don't get any information that it's not possible.

Related conversations:

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #45125: Hide "Create new relation" for FAL fields, if maxitems = 1 and an image is selectedClosedJan Helke2013-02-04

Actions
Actions

Also available in: Atom PDF