Basic custom table in Properties Panel

As the error message reveals, the addElement functionality requires an array of commands on how to add the elements. The properties implementation is dealing with this, as an example.

This, of course, depends on what you want to do by clicking on add. return true, as you filled the handler with, won’t magically do anything, you have to be explicit here.