<textarea/> maxlength="-1"时无法输入文字
原来textarea不限制字数是用maxlength=“0”,接口更新后,是用"-1",但是,无论是0还是-1,都无法输入文字,或者只能输入一个字。
< textarea class = "weui-textarea" placeholder = "我想说..." maxlength = "-1" focus = "{{item.focus}}" bindinput = "onTextSectionInput" data-index = "{{index}}" /> |
环境:开发者工具