Use singleLine attribute instead of lines and inputType