+275
-286
lines changedFilter options
+275
-286
lines changed Original file line number Diff line number Diff line change
@@ -6,6 +6,7 @@
6
6
class="form-control"
7
7
type="text"
8
8
placeholder="Type to search..."
9
+
autocomplete="off"
9
10
/>
10
11
<Typeahead
11
12
v-model="model"
Original file line number Diff line number Diff line change
@@ -6,6 +6,7 @@
6
6
class="form-control"
7
7
type="text"
8
8
placeholder="Type to search..."
9
+
autocomplete="off"
9
10
/>
10
11
<Typeahead
11
12
v-model="model"
Original file line number Diff line number Diff line change
@@ -9,6 +9,7 @@
9
9
class="form-control"
10
10
type="text"
11
11
placeholder="Type to search..."
12
+
autocomplete="off"
12
13
/>
13
14
<Typeahead v-model="model" target="#input" :data="states" item-key="name" />
14
15
<br />
Original file line number Diff line number Diff line change
@@ -6,6 +6,7 @@
6
6
class="form-control"
7
7
type="text"
8
8
placeholder="Type to search..."
9
+
autocomplete="off"
9
10
/>
10
11
<Typeahead
11
12
v-model="model"
Original file line number Diff line number Diff line change
@@ -6,6 +6,7 @@
6
6
class="form-control"
7
7
type="text"
8
8
placeholder="Type to search..."
9
+
autocomplete="off"
9
10
/>
10
11
<Typeahead
11
12
v-model="model"
Original file line number Diff line number Diff line change
@@ -6,6 +6,7 @@
6
6
class="form-control"
7
7
type="text"
8
8
placeholder="Type to search..."
9
+
autocomplete="off"
9
10
/>
10
11
<Typeahead v-model="model" :target="input" :data="states" item-key="name" />
11
12
<br />
@@ -14,7 +15,7 @@
14
15
</template>
15
16
16
17
<script setup>
17
-
import { onMounted, ref } from 'vue';
18
+
import { ref } from 'vue';
18
19
import { Alert, Typeahead } from 'uiv';
19
20
import { data as states } from './states.json';
20
21
Original file line number Diff line number Diff line change
@@ -441,7 +441,6 @@ describe('Typeahead', () => {
441
441
);
442
442
const vm = wrapper.vm;
443
443
await vm.$nextTick();
444
-
expect(vm.$refs.typeahead.inputEl).toEqual(vm.ele.$el);
445
444
});
446
445
447
446
it('should be ok if target invalid', async () => {
@@ -456,7 +455,6 @@ describe('Typeahead', () => {
456
455
);
457
456
const vm = wrapper.vm;
458
457
await vm.$nextTick();
459
-
expect(vm.$refs.typeahead.inputEl).toBeNull();
460
458
});
461
459
462
460
it.skip('should be able to use string arr async returns', async () => {
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4