Then set the formControlName and bind suggestions to a list of all string values possible for the field. Set the inputStyleClass to rui-form-control. Optionally, you can bind dropdown to true if you want to show the dropdown arrow. Otherwise, just typing in the input will display the dropdown menu. Finally, bind completeMethod to your backing method to build out your filtered list.
In the typescript, create an AutoCompleteCompleteEvent interface and add a property to hold the filtered list. Then create the method called during the completeMethod event and update the filtered list based on the input.
Then set the formControlName and bind suggestions to a list of all string values possible for the field. Set the inputStyleClass to rui-form-control. Optionally, you can bind dropdown to true if you want to show the dropdown arrow. Otherwise, just typing in the input will display the dropdown menu. Finally, bind completeMethod to your backing method to build out your filtered list.
In the typescript, create an AutoCompleteCompleteEvent interface and add a property to hold the filtered list. Then create the method called during the completeMethod event and update the filtered list based on the input.