Topic: Autocomplete List items template
Hi,
is there a way to customize the autocomplete list items html template?
Thanks
Marco
Arkadiusz Idzikowski staff answered 6 years ago
Hello Marco,
What exactly would you like to customize?
bitjuice pro commented 6 years ago
Hi Arkadiusz,
I need to cutomize the font style of an item show in list item and add a font-awesome icon
Thanks
Marco
Damian Gemza staff answered 6 years ago
Dear @bitjuice
Our autocompleter haven't got an option to customize the template.
You can customize the font style by overwriting .completer-row class in your styles.scss. For example:
.completer-row {
font-family: "Times New Roman", Times, serif;
}
But with the next release of MDB Angular we'll provide our users with the whole new auto-completer which will be similar to autocompleter from Angular Material. There will be a possibility to modify its template.
Best Regards,
Damian
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: 6.2.3
- Device: PC
- Browser: Chorme
- OS: Windows 10
- Provided sample code: No
- Provided link: No