About Details Panel change Question

#1. i want this by using C++ Programming

here is some codes

UENUM(BlueprintType)

enum eType

{

eType_1,

eType_2

}

USTRUCT(BlueprintType, Blueprintable, Category = “CUSTOM”)

struct Custom

{

GENERATED_USTRUCT_BODY()

public:

UPROPERTY(EidtAnyWhere,BlueprintReadWrite,Cateogy = “C”)

eType type_a;

UPROPERTY(EidtAnyWhere,BlueprintReadWrite,Cateogy = “C”)

int type_a_detail;

}

Question :
in Blueprint Detail Panel (assume : make C++ to Blueprint)

if i set “type_a” value to eType_1, nothing changed

BUT

if i set “type_a” value to eType_2 !, Detail Panel is changed

“type_a_detail” Value appear, and i can change this.

how can i do that?