This happens when you are using a pointer with UPROPERTY specifier EditAnywhere or EditDefaultsOnly. Try changing to VisibleAnywhere or VisibleDefaultsOnly.
// This will show the first image, with a drop down box for SphereComp.
UPROPERTY(EditDefaultsOnly)
USphereComponent* SphereComp;
// This will show the second image, the same details display as when adding from the Blueprint's "Add Component" button.
UPROPERTY(VisibleDefaultsOnly)
USphereComponent* SphereComp;