Add CONCAT_WS fn to APIv4 and UI support in SearchKit
[civicrm-core.git] / Civi / Api4 / Query / SqlFunctionCOALESCE.php
index fc5765f6dfe17c1336a07e7d0c019c392cb4e2fd..5264e04ef1432beeb220bed94daf4db6860eab86 100644 (file)
@@ -25,6 +25,10 @@ class SqlFunctionCOALESCE extends SqlFunction {
       [
         'max_expr' => 99,
         'optional' => FALSE,
+        'ui_defaults' => [
+          ['type' => 'SqlField', 'placeholder' => ts('If')],
+          ['type' => 'SqlField', 'placeholder' => ts('Else')],
+        ],
       ],
     ];
   }