diff --git a/services/NormalBot.php b/services/NormalBot.php index 45c9f98..b8df232 100644 --- a/services/NormalBot.php +++ b/services/NormalBot.php @@ -638,7 +638,7 @@ class NormalBot if ($type === 'select') { $vf = $field['value_field'] ?? 'id'; $lf = $field['label_field'] ?? 'label'; - $items = self::fetchDynamicList($field['source_endpoint_key'] ?? '', $company); + $items = self::fetchDynamicList($field['source_endpoint_key'] ?? '', $company, $cap['collected'] ?? []); if (!empty($items)) { if ($ctxId > 0) { $cap['__selects'][$field['key']] = array_column($items, $lf, $vf);