问题只出现在真机调试
原始form:
< form bindsubmit = "formSubmit" > < view class = "weui-cells weui-cells_after-title" > < view class = "weui-cell weui-cell_input" > < view class = "weui-cell__hd" > < view class = "weui-label" >站点名</ view > </ view > < view class = "weui-cell__bd" > < input class = "weui-input" name = "siteName" placeholder = "请输入站点名" /> </ view > </ view > < view class = "weui-cell weui-cell_input" > < view class = "weui-cell__hd" > < view class = "weui-label" >站点描述</ view > </ view > < view class = "weui-cell__bd" > < input class = "weui-input" name = "siteDescription" placeholder = "15个字以内,否则不美观" /> </ view > </ view > </ view > < view class = "weui-btn-area" > < button class = "weui-btn" type = "primary" formType = "submit" >确定</ button > </ view > </ form > |
连续切换输入框后,某个input变成
< input class = "weui-input" name = "siteDescription" placeholder = "15个字以内,否则不美观" selection-start=“-1” selection-end=“-1” cursor=“-1” /> |
然后这个输入框就不能再输入了。就是多了几个原来没添加的属性:
selection-start=“-1”
selection-end=“-1” cursor=“-1”
你好,该问题已解决的,麻烦重试一下