No results found in mdb-autocomplete


Topic: No results found in mdb-autocomplete

mdb2 pro asked 7 years ago

How can I change the "No results found" message in mdb-autocomplete to a custom message ?

Damian Gemza staff answered 7 years ago

Dear mdb2, Please add a textNoResults input on mdb-autocomplete element.
Code:
<mdb-autocomplete [label]="'Select color'" textNoResults="Your custom text" initialValue="Select color" name="autocomplete" [(ngModel)]="searchStr" [datasource]="dataService"

[minSearchLength]="0">

</mdb-autocomplete>
Best Regards, Damian

mdb2 pro commented 7 years ago

Excellent Where is it documented ?

Arkadiusz Idzikowski staff commented 7 years ago

Dear mdb2, This behavior has not been described in our documentation yet. We will update it it near future. Best, Arek

I am having this exact same problem but adding textNoResults="Your custom text" has no effect


Damian Gemza staff answered 6 years ago

dear heath,

Could you please specify which version of MDB Angular you're using?

There's a brand new mdb-auto-completer component, so please update to the latest version of MDB Angular, and use the new component, and let us know, if your problem is resolved or not.

Best Regards,

Damian


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No