Add input[type=text] support