add support for text input
merge branch 'textfieldsupport'