Set the text field to type text rather than undefined
Merge pull request #66 from borkweb/fix-undefined

Set the text field to type text rather than undefined