Skip to content

Commit 44cd093

Browse files
1 parent 04e71a6 commit 44cd093

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/control.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export class GeocoderControl extends EventedControl {
185185
icon.setAttribute('aria-label', this.options.iconLabel);
186186

187187
const input = (this._input = L.DomUtil.create('input', '', form) as HTMLInputElement);
188-
input.type = 'text';
188+
input.type = 'search';
189189
input.value = this.options.query;
190190
input.placeholder = this.options.placeholder;
191191
L.DomEvent.disableClickPropagation(input);

0 commit comments

Comments
 (0)