Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Autocomplete][Feature]add props support #5188

Merged
merged 1 commit into from
Jun 9, 2017
Merged

Conversation

baiyaaaaa
Copy link
Contributor

@baiyaaaaa baiyaaaaa commented Jun 4, 2017

Please make sure these boxes are checked before submitting your PR, thank you!

  • Make sure you follow Element's contributing guide (中文 | English).
  • Make sure you are merging your commits to dev branch.
  • Add some descriptions and refer relative issues for you PR.

#5136

@QingWei-Li QingWei-Li merged commit e22c34e into ElemeFE:1.4 Jun 9, 2017
Leopoldthecoder pushed a commit that referenced this pull request Jun 9, 2017
@davidweining2333
Copy link

image
指南中的这种用法并不生效,会导致报错
附我的代码片段

<el-autocomplete class="inline-input search-box" v-model="filterModel.search.value" :fetch-suggestions="querySearch" :placeholder="filterModel.search.holder" :on-icon-click="handleIconClick" @select="handleSelect" icon="search">
                        <template slot-scope="props">
                            <div class="name">{{ props.item.value }}</div>
                            <span class="addr">{{ props.item.key }}</span>
                        </template>
                    </el-autocomplete>

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants