[eluser]OverZealous[/eluser] @bEz
Yes, that's a typo in the example app. The example app might be full of little mistakes like that :roll:
--
The input-generation functions all receive the $object. That is entirely on purpose. It allows the input function to modify what it generates based on the $object being worked on. If I didn't pass it, you couldn't read other fields on the object.
For example, maybe I want to generate an AJAX control that looked up items in an on-the-fly drop-down. I might need to send the ID and Model of the object back to the server for that.
--
I did make a note that the related items can only work with dropdown, checkbox, and radio in the lastest release. I might modify it for the next release, to allow hidden for single-input types. There might also be a bug, I don't know, I just haven't had time to look into that one.
Have fun breaking the new features. I might not be able to respond very quickly during the rest of this week.