how to make mongoose not accept spaces when inserting new doc

前端 未结 0 1221
忘掉有多难
忘掉有多难 2021-01-31 18:29

Im creating a to-do list app and I want the input to not accept spaces. So if the user presses space and doesnt type any other character (besides space), I want mongoose or node

相关标签:
回答
  • 消灭零回复
提交回复
热议问题