form中有多个textarea组件时,点击提交按钮无效

发布于 7 年前作者 xia296939 次浏览最后编辑 7 年前来自 ask
  • 当前 Bug 的表现(可附上截图)

Android多个机型上(荣耀、小米等),点击button无反应,button没有捕获到点击事件

  • 预期表现

button可以点击

  • 复现路径

  • 提供一个最简复现 Demo

<form bindsubmit="onTapSubmit" report-submit="true" class="page">
    <view class="section">
    <textarea class="medium-text" bindinput="onInputDstAddress" placeholder="出差地址" maxlength="200"/>
    </view>

    <view class="section">
    <textarea class="big-text" bindinput="onInputReason" placeholder="出差事由" maxlength="200"/>
    </view>

<view class="section-divider"/>

<button class="submit-button" type="primary" size="default" formType="submit">提交</button>

<view class="page-foot"/>

</form>
1 回复
csong
csong1 楼5 年前

textarea 没有加 name 属性