Android textarea组件默认不会填充data数据里面的值
wxml:
< textarea class = "comment" auto-height = "{true}" bindinput = "bindCommentInput" placeholder = "备注" placeholder-class = "placeholder" value = "{{ comment }}" /> |
js:
Page({ onLoad: function () { this .setData({ comment: 123 }) } }) |
开发者模拟器, IOS均表现正常, Android 则一直显示为placeholder - ‘备注’