<template>
    <div class="ht-base-auto-complete-filter-demo">
        <ht-base-auto-complete
                v-model="value3"
                :data="data3"
                :filter-method="filterMethod"
                placeholder="input here"
                style="width:200px">
        </ht-base-auto-complete>
    </div>
</template>

<script>
  export default {
      name: 'HtBaseAutoCompleteFilterDemo',
      data () {
          return {
              value3: '',
              data3: ['Steve Jobs', 'Stephen Gary Wozniak', 'Jonathan Paul Ive']
          }
      },
      methods: {
          filterMethod (value, option) {
              return option.toUpperCase().indexOf(value.toUpperCase()) !== -1;
          }
      }
  }
</script>
<style lang="less">
    .ht-base-auto-complete-filter-demo {

    }
</style>

