Skip to content

Commit 675b8b9

Browse files
committed
fix kboard bug on mobile
1 parent 749e754 commit 675b8b9

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

src/components/sections/SectionForm.vue

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,17 @@ async function handleSubmit() {
1616

1717
<template>
1818
<form @submit.prevent="handleSubmit" id="form" class="flex my-12">
19-
<label for='location' hidden>Enter a location</label>
20-
<input v-model="locationInput" type='text' name='location' placeholder='Enter a location' class=" rounded-none rounded-l-sm input input-lg text-xl join-item"/>
19+
<label for='location' class="sr-only">Enter a location</label>
20+
<input
21+
v-model="locationInput"
22+
id="location"
23+
type='text'
24+
name='location'
25+
placeholder='Enter a location'
26+
inputmode="search"
27+
autocomplete="on"
28+
class=" rounded-none rounded-l-sm input input-lg text-xl join-item"
29+
/>
2130
<input type=submit value='>>' class=" btn btn-lg btn-soft rounded-none rounded-r-sm btn-square font-ff text-xl text-slate-600 uppercase join-item" />
2231
</form>
2332
</template>

0 commit comments

Comments
 (0)