mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-22 09:56:18 +01:00
Fix chrome showing native popups for search bars
This commit is contained in:
parent
85cfd2fee9
commit
0a44c0bccf
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@
|
|||
class EditWithComplete:
|
||||
|
||||
def __init__(self, name, placeholder=None, tooltip=None, parent=None, input_type='text', onenterkey=None):
|
||||
inpt = E.input(type=input_type, name=name, title=tooltip or '', placeholder=placeholder or '')
|
||||
inpt = E.input(type=input_type, name=name, title=tooltip or '', placeholder=placeholder or '', autocomplete='off')
|
||||
self.input_id = ensure_id(inpt)
|
||||
self.onenterkey = onenterkey
|
||||
self.completion_popup = CompletionPopup(parent=parent, onselect=self.apply_completion)
|
||||
|
|
|
|||
Loading…
Reference in a new issue