fix #56: text input support type