SearchKit - Fix formatting of Date input fields in bulk-update dialog
authorColeman Watts <coleman@civicrm.org>
Mon, 16 Aug 2021 19:43:45 +0000 (15:43 -0400)
committerColeman Watts <coleman@civicrm.org>
Mon, 16 Aug 2021 19:43:45 +0000 (15:43 -0400)
ext/search_kit/ang/crmSearchTasks/crmSearchTaskUpdate.ctrl.js

index bb684b03abf82671518f605f03a7bcf7a31b04e7..193ae730070db44b3b381a0d8665aa2e630132fd 100644 (file)
@@ -13,7 +13,7 @@
 
     crmApi4(model.entity, 'getFields', {
       action: 'update',
-      select: ['name', 'label', 'description', 'data_type', 'serialize', 'options', 'fk_entity'],
+      select: ['name', 'label', 'description', 'input_type', 'data_type', 'serialize', 'options', 'fk_entity'],
       loadOptions: ['id', 'name', 'label', 'description', 'color', 'icon'],
       where: [["readonly", "=", false]],
     }).then(function(fields) {