mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-06-26 16:26:44 +03:00
Email address autocomplete value is sufficient
This commit is contained in:
parent
b237ef5c24
commit
4a8ed7268e
2 changed files with 3 additions and 3 deletions
|
|
@ -113,7 +113,7 @@ export class EmailAddressesComponent {
|
|||
if (datalist.inputValue !== value) {
|
||||
datalist.inputValue = value;
|
||||
value.length && self.options.autoCompleteSource(
|
||||
{term:value},
|
||||
value,
|
||||
items => {
|
||||
self._resetDatalist();
|
||||
items && items.forEach(item => datalist.append(new Option(item)));
|
||||
|
|
|
|||
|
|
@ -754,7 +754,7 @@ export class ComposePopupView extends AbstractViewPopup {
|
|||
}
|
||||
|
||||
// getAutocomplete
|
||||
emailsSource(oData, fResponse) {
|
||||
emailsSource(value, fResponse) {
|
||||
Remote.request('Suggestions',
|
||||
(iError, data) => {
|
||||
if (!iError && isArray(data.Result)) {
|
||||
|
|
@ -767,7 +767,7 @@ export class ComposePopupView extends AbstractViewPopup {
|
|||
}
|
||||
},
|
||||
{
|
||||
Query: oData.term
|
||||
Query: value
|
||||
// ,Page: 1
|
||||
},
|
||||
null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue