textarea输入长度

小程序 文章 2021-12-24 17:00 298 0 全屏看文

AI助手支持GPT4.0

textarea输入长度textarea input length

textarea输入长度
框架类型 问题类型 终端类型 微信版本 基础库版本
小程序 Bug 微信iOS客户端 8.0.16 2.21.2

https://developers.weixin.qq.com/miniprogram/dev/component/textarea.html

textarea设置maxlength为-1后,输入还是有长度限制

Framework type problem type terminal type wechat version basic library version applet bug wechat IOS client 8.0 16 2.21. two https://developers.weixin.qq.com/miniprogram/dev/component/textarea.html After textarea is set to MaxLength - 1, there is still a length limit for input

回答:

社区技术运营专员-horanzhou:

请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。

纸玫瑰:

测试没有问题,

测试代码<textarea name="" maxlength="-1"></textarea>

请检查一下是程序端输入有显示还是后端存数据库得时候 数据库字段长度有限制

微喵网络:

亮出你的代码

-EOF-

AI助手支持GPT4.0