I’m drawing a list view that lets me select between drawing some different items. The formatListItemCallback is this:
formatListItemCallback: ve => ((SerializedProperty) ve.userData).FindPropertyRelative("name").stringValue
But if several items have the same name value, they don’t get different entries:
Debug View:
The dropdown does this:
From looking briefly through the decompiler, it looks like you’re using a GenericMenu to show the popup. GenericMenu has a bool property “allowDuplicateNames”, which defaults to false.
Is it intentional that you’re not setting it true? Any chance you could either do that, or at least give us the ability to set the value on PopupField?