Lightweight tab completion for inputs and textareas