开发工具版本 1.02.1911180
windows版微信 2.7.1.88
部分页面会出现 input输入框动态设置placeholder-style 后加入默认值时 placeholder不消失 情况
< view class = "page_title" style = "{{pageStyle.colorPrimary}}" > 请输入信息 </ view > < view class = "form_group" style = "{{pageStyle.dividerBorder}}" > < label class = "name" >姓名</ label > < input value = "姓名" placeholder = "请输入姓名" style = "{{pageStyle.input}}" placeholder-class = "placeholder" ></ input > </ view > < view class = "form_group" style = "{{pageStyle.dividerBorder}}" > < label class = "name" >手机号</ label > < input type = "number" placeholder = "请输入手机号" style = "{{pageStyle.input}}" placeholder-style = "{{pageStyle.placeholderStyle?pageStyle.placeholderStyle:''}}" placeholder-class = "placeholder" value = "15268" ></ input > </ view > < view class = "form_group" style = "{{pageStyle.dividerBorder}}" > < label class = "name" >身份证号</ label > < input type = "idcard" placeholder = "请输入身份证号" style = "{{pageStyle.input}}" placeholder-style = "{{pageStyle.placeholderStyle?pageStyle.placeholderStyle:''}}" placeholder-class = "placeholder" value = "43010" ></ input > </ view > < view class = "button_box" > < button form-type = "submit" >下一步</ button > </ view > |
直到基础库3.4才解决🥲
楼主解决了没 我也出现这种情况
请问问题是必现的么?这边未复现问题,麻烦提供能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)