在IOS中,将Input 的type设置为search 后键盘回车键上的文字是换行,需求是回车键文字是”搜索“。
解决办法:
给input外套一个form,并且加个空的”action“.

<form action="">
 <input type="search"/>
</form>

相关文章:

  • 2022-12-23
  • 2021-11-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-01
  • 2021-06-03
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案