mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Turn native auto complete off line edit with completion
This commit is contained in:
parent
9d4e5c500f
commit
d2d30ff8df
@ -324,7 +324,11 @@ def multiple_line_edit(list_to_ui, ui_to_list, container_id, book_id, field, fm,
|
||||
nonlocal value_to_json
|
||||
update_completions.list_to_ui = list_to_ui
|
||||
name = fm.name or field
|
||||
le = E.input(type='text', name=name.replace('#', '_c_'), style='width: 100%', oninput=line_edit_updated.bind(None, container_id, field))
|
||||
le = E.input(
|
||||
type='text', name=name.replace('#', '_c_'),
|
||||
style='width: 100%', autocomplete='off',
|
||||
oninput=line_edit_updated.bind(None, container_id, field)
|
||||
)
|
||||
val = (resolved_metadata(mi, field) or v'[]')
|
||||
if field is 'languages':
|
||||
val = [mi.lang_names[l] or l for l in val]
|
||||
|
Loading…
x
Reference in New Issue
Block a user