Topic: No results found in mdb-autocomplete

itay pro asked 6 years ago


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

Damian Gemza staff answered 5 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


heath.frankel free answered 5 years ago


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


Damian Gemza staff answered 6 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

itay pro commented 6 years ago

Excellent Where is it documented ?

Arkadiusz Idzikowski staff commented 6 years ago

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


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

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags