Topic: mdb-autocomplete searching... custom message

itay pro asked 4 years ago


Similar to no-results custom message, how can I replace the "searching..." message when using mdb-autocomplete ? https://mdbootstrap.com/angular/forms/autocomplete/#no-results

Damian Gemza staff answered 4 years ago


Dear mdb2, For changing "searching" text in autocomplete component, there's prepared a [textSearching] input on it. Here's the code which shows you how to use it properly.
<mdb-autocomplete [label]="'Select color'" [textSearching]="'Searching text'" initialValue="Select color" name="autocomplete" [(ngModel)]="searchStr" [datasource]="dataService" [minSearchLength]="0">

</mdb-autocomplete>
Best Regards, Damian

itay pro commented 4 years ago

Thanks, did I miss it in the tutorial ?

Damian Gemza staff commented 4 years ago

We have to extend our Material Select docs to better describe it's options. 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

Resolved

Specification of the issue

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