Add text input support