How can I make my custom struct have fields editable within an array in the Details panel?

I added a field to my class typed as one of the structs, but not as an array, and now the array works. If I delete the single field the array still works.