Correctly handle separators

This commit is contained in:
Stephen Abello
2026-08-21 14:53:04 +02:00
parent 7e3b4af093
commit 0e7e87ff8b
18 changed files with 255 additions and 16 deletions

View File

@@ -72,7 +72,7 @@ class FieldUIBlockFactory extends AbstractUIBlockFactory
if (isset($aParams['actions'])) {
//TODO make this a configuration parameter
$iMaxActions = 2;
$iMaxActions = 50;
$aActions = [];
// Create a button for a few action or a kebab button for multiple actions that a more than what's configured
if (count($aParams['actions']) > $iMaxActions) {