Skip to content

Commit 76274e8

Browse files
Moritz Ruthmarcosmoura
authored andcommitted
docs: fix 2 wrong property names with autocomplete docs (#2006)
* chore(.gitignore): exclude .idea directory The .idea directory is used by the WebStorm IDE. * docs(AutocompleteSearch.vue): fix 2 wrong property names
1 parent 5d54da5 commit 76274e8

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ coverage/
77
yarn-debug.log
88
npm-debug.log
99
.vscode
10+
.idea

docs/app/pages/Components/Autocomplete/examples/AutocompleteSearch.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
<template>
22
<div>
33
<strong>Fuzzy Search:</strong>
4-
<md-autocomplete v-model="selectedCountry" :md-options="employees">
4+
<md-autocomplete v-model="selectedEmployee" :md-options="employees">
55
<label>Manager</label>
66

77
<template slot="md-autocomplete-item" slot-scope="{ item, term }">
88
<md-highlight-text :md-term="term">{{ item }}</md-highlight-text>
99
</template>
1010

1111
<template slot="md-autocomplete-empty" slot-scope="{ term }">
12-
No countries matching "{{ term }}" were found. <a @click="noop()">Create a new</a> one!
12+
No employees matching "{{ term }}" were found. <a @click="noop()">Create a new</a> one!
1313
</template>
1414
</md-autocomplete>
1515

1616
<strong>Normal Search:</strong>
17-
<md-autocomplete v-model="selectedEmployee" :md-options="countries" :md-fuzzy-search="false">
17+
<md-autocomplete v-model="selectedCountry" :md-options="countries" :md-fuzzy-search="false">
1818
<label>Country</label>
1919

2020
<template slot="md-autocomplete-item" slot-scope="{ item, term }">
@@ -32,8 +32,8 @@
3232
export default {
3333
name: 'AutocompleteSearch',
3434
data: () => ({
35-
selectedCountry: null,
3635
selectedEmployee: null,
36+
selectedCountry: null,
3737
countries: [
3838
'Algeria',
3939
'Argentina',

0 commit comments

Comments
 (0)