Remove newline from textfield (since its not supported yet)