Fixed crash on wrong Object Type

+ Added Textfield to example