making picklist for sub field

making picklist for sub field

Hi, I have tried to get a picklist to pick only the equipment related to a type dropdown but it only lists one of the choices when there are three available.

So the type lists Camera, Sound and Lighting
The names would be Reuben's Fs7, Gregs A1p

equipmentinfo = Equipment1[Type = row.Type].ID;
row.Equipment_Name:ui.add(equipmentinfo);


Thanks