<!--
Thanks for using Weex. Please follow the [Bug Report 
Guidelines](http://weex-project.io/bug-report-guidelines.html) to file issues. 
A good bug report should include the following information:
-->

<!--
感谢使用 Weex。请遵照 [Bug 报告指南](http://weex-project.io/cn/bug-report-guidelines.html) 
创建 issue,希望你可以提供如下信息:
-->

## Description
Android端input控件在默认输入一个字符后,删除不能调用input回调

## Environment
android  weex版本 0.18.0
小米3手机 6.0系统

## Broken Example
`
<template>
  <div>
      <text style="font-size: 40px">oninput: {{txtInput}}</text>
      <input type="text" placeholder="Input Text" class="input" 
:value="txtInput" :autofocus=true @input="oninput"/>
  </div>
</template>

<style scoped>
  .input {
    font-size: 60px;
    height: 80px;
    width: 750px;
  }
</style>

<script>
  var modal = weex.requireModule('modal')
  module.exports = {
    data: function () {
      return {
        txtInput: '外',
      };
    },
    methods: {
      oninput: function (event) {
        this.txtInput = event.value;
         modal.toast({
                message: "input: "+event.value
              })
      }
    }
  };
</script>
`

## Steps to Reproduce

1、input控件默认有一个字符
2、弹起软键盘删除那个字符
3、监听input回调事件没有调用


[ Full content available at: 
https://github.com/apache/incubator-weex/issues/1519 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to