fixed typo
added text radio and checkbox input support