priviously my code is
$magentoUuidAttribute = $customerSetup->getEavConfig()
->getAttribute(Customer::ENTITY, 'uuid');
$magentoUuidAttribute->addData([
'attribute_set_id' => $attributeSetId,
'attribute_group_id' => $attributeGroupId,
'used_in_forms' => ['adminhtml_customer'],
]);
It seem to be visible only when there full 4 opitons of 'used_in_forms' 'customer_account_create', 'customer_account_edit', 'checkout_register', 'adminhtml_customer' . Don't worry because even when you set this
$magentoUuidAttribute = $customerSetup->getEavConfig()
->getAttribute(Customer::ENTITY, 'uuid');
$magentoUuidAttribute->addData([
'attribute_set_id' => $attributeSetId,
'attribute_group_id' => $attributeGroupId,
'used_in_forms' => ['adminhtml_customer','adminhtml_customer_address','customer_account_edit','customer_address_edit','customer_register_address','adminhtml_checkout'],
]);
Now admin panel showing custom attribute.
php bin/magento index:reindex
?