eee555 / saolei_website

新扫雷网,即将开始公测
https://fff666.top/#/
MIT License
4 stars 7 forks source link

Bug with v-model.trim #45

Open hwatson381 opened 3 weeks ago

hwatson381 commented 3 weeks ago

There's a bug with using v-model.trim on el-input.

This is a known issue with element-ui and it prevents the user from typing spaces (for example, in the real name field). https://github.com/ElemeFE/element/issues/19165

There is a slightly separate issue, which is that the real name input box on the profile page has max-length="10". This is too short for English names. I think setting the limit to 50 characters would work for almost all names.

eee555 commented 3 weeks ago

Yeah, you're right. We will take into account input experiences in different languages.