We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cd10d7 commit b5a64c7Copy full SHA for b5a64c7
app/code/Magento/Customer/Ui/Component/Listing/AttributeRepository.php
@@ -143,9 +143,13 @@ protected function getOptionArray(array $options)
143
{
144
/** @var \Magento\Customer\Api\Data\OptionInterface $option */
145
foreach ($options as &$option) {
146
+ $value = $option->getValue();
147
+ if ($option->getOptions()) {
148
+ $value = $this->getOptionArray($option->getOptions());
149
+ }
150
$option = [
151
'label' => (string)$option->getLabel(),
- 'value' => $option->getValue(),
152
+ 'value' => $value,
153
'__disableTmpl' => true
154
];
155
}
0 commit comments