Closed andrejm7 closed 7 years ago
is the initial data the combination of name
and surname
?
the field is empty and I type the initials but with a click outside the field the ng2-completer only fills in what I typed.
when is no results
displayed?
when typing Albe .. and the input behind Alberto .. but when I click outside the input the field is filled with only 'Albe'
See the picture at the opening of the case
The error is similar to that reported in # 320
can you provide the HTML that your'e using for ng2-completer
?
Sure...
<ng2-completer [inputClass]="['form-control']" [inputName]="'paciente'" name='paciente' [inputId]="'paciente'" [(ngModel)]="agenda.paciente" #paciente="ngModel" [datasource]="dataServicePaciente" [minSearchLength]="3" [textNoResults]="'Não há resultados' [textSearching]="'Buscando...'">
can you try with fillHighlighted="false"
Good man thanks
When searching for the name underneath it is 'No results'. If you click the mouse anywhere else, the name is not filled.
Check the image. Input when selecting and after clicking out of the input.
Is it bug?
detail .. I'm using it this way because I need to concatenate the name and surname this.dataServicePaciente = this.completerService.local(this.pacientes, 'name,surname', 'name,surname');