Hi Lanodar,
Try changing your OnClick function to set the text on the dropdown again yourself. I’ve had problems with UIDropDownMenu_SetSelected* not always setting the text correctly.
Code:
local function OnClick(self)
UIDropDownMenu_SetSelectedID(DropDownMenuTest, self:GetID())
DropDownMenuTestText:SetText( items[ self:GetID() ] )
end