mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-20 06:13:40 +00:00
Prevent autocomplete on suggestions that don't match
The behaviour of the ngTagsInput directive is somewhat counter-intuitive - typing part of a suggested email will appear as though it matches but pressing enter will not input the suggestion, but the current typed value. Disabling add on enter will still allow enter to select the selection, but prevents selection of the partially typed email/name.
This commit is contained in:
parent
ca8ba6dabe
commit
79566a9214
1 changed files with 1 additions and 0 deletions
|
@ -71,6 +71,7 @@ script(type='text/ng-template', id='shareProjectModalTemplate')
|
|||
focus-on="open"
|
||||
display-property="display"
|
||||
add-on-paste="true"
|
||||
add-on-enter="false"
|
||||
replace-spaces-with-dashes="false"
|
||||
type="email"
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue