The CreatorCon Call for Content is officially open! Get started here.

include angular autocomplete with angular material mat-autocomplete

r_gissarl_
Mega Expert

Hi,

 

I want to use the Angular autocompleter (https://material.angular.io/components/autocomplete/overview) to help our users to complete email fields (not reference fields because the same field is used for new and existing addresses). My widget is ready, but I need to import the autocomplete component to my Service Portal (or in the widget or in the page).

On a server it would be :

npm install @angular/material/autocomplete --sav

Is anyone able to explain me on how to do this with service now (we are on Kingston) ?

 

Regards.

5 REPLIES 5

Hi 

Maybe it is not getting the mat-template directive. You need to include the file as i have included for material design. Check which is there for mat-template that you need to include.