You need to create custom file for add options in dropdown like below way :
<item name="options" xsi:type="object">Vendor\Module\Ui\Component\Listing\Column\Myoptions</item>
You need to add this line in your ui field of color. After that, Create Myoptions.php file and add this below code :
<?php
namespace Vendor\Module\Ui\Component\Listing\Column;
class Myoptions implements \Magento\Framework\Option\ArrayInterface
{
public function __construct(
\Magento\Eav\Model\Config $eavConfig
) {
$this->eavConfig = $eavConfig;
}
public function toOptionArray()
{
$attribute = $this->eavConfig->getAttribute('catalog_product', 'activity')->setStoreId(0);
$allOptions = $attribute->getSource()->getAllOptions();
$attrOptionsArray = [];
foreach ($allOptions as $attrKey => $attrValue) {
$attrOptionsArray[$attrKey]['label'] = $attrValue['label'];
$attrOptionsArray[$attrKey]['value'] = $attrValue['value'];
}
return $attrOptionsArray;
}
}
Replace your attribute code instead of activity.
Clean cache and check it.