微信小程序 textarea的show-confirm-bar隐

2021-04-24  本文已影响0人  CNSTT

一、前言

| show-confirm-bar | boolean | true | 否 | 是否显示键盘上方带有”完成“按钮那一栏 |

二、错误代码

<view class="test">
  <textarea class="url-input" bindblur="bindTextAreaBlur" bindfocus="bindTextAreaFocus" show-confirm-bar="false"
    placeholder="请输入" maxlength="-1" />
</view>

三、生效代码

show-confirm-bar="{{false}}"

<view class="test">
  <textarea class="url-input" bindblur="bindTextAreaBlur" bindfocus="bindTextAreaFocus" show-confirm-bar="{{false}}"
    placeholder="请输入" maxlength="-1" />
</view>

谢谢阅读,有帮助的点个❤!

上一篇 下一篇

猜你喜欢

热点阅读