Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,9 @@ export const FieldPopulation: React.FC<FieldPopulationProps> = ({
const rawResults = responseData[fieldMapping] || [];

// Handle automatic selection (non-array result)
// For automatic population, the result is typically a single object (not an array)
if (populateHint.selection_type == 'automatic' && !Array.isArray(rawResults)) {
onPopulateResult(fieldName, rawResults, false);
onPopulateResult(fieldName, [rawResults], false);
return;
}

Expand Down
Loading