Skip to content

Commit

Permalink
Merge pull request #15 from kris-coidan/patch-1
Browse files Browse the repository at this point in the history
Updated broken method when getting source array for a Grouped Dropdown.
  • Loading branch information
AndrewHaine authored Aug 5, 2021
2 parents 3cc252c + e89723c commit 3d8535f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Extension/FormCaptureExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ private function create_captured_field($field, $showInDetails = false)
case 'groupeddropdown dropdown':

// Relevent values
$groupedSrc = $field->getSourceAsArray();
$groupedSrc = $field->getSource();
$selected = $field->dataValue();

// Loop through all source keys, if we find an array search it for the field value
Expand Down

0 comments on commit 3d8535f

Please sign in to comment.