This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
md-autocomplete not rendering #4668
Closed
Description
I am trying to create a small demo application in which I demo the awesomeness which is ngMaterial, but I ran into an issue with the md-autocomplete:
version: 0.11.0
using the npm package
It does not render correctly, the races autocomplete should be rendered but is not:
The markup I use is:
<md-autocomplete flex="2" md-items="race in queryRaces(raceSearchText)"
md-search-text="raceSearchText"
md-item-text="race.name"
md-floating-label="Race">
<md-item-template>
<span md-highlight-text="raceSearchText">{{ item.name }}</span>
</md-item-template>
<md-not-found>
No matches found for "{{ raceSearchText }}".
</md-not-found>
</md-autocomplete>
I cannot reproduce the issue in a CodePen.
I can however give you a link to the GitHub repo if you need it.
Extra information:
the controller used: https://github.com/Baudin999/ckAvalon_md/blob/master/src/app/modules/characters/controllers/addCharacterController.js
The view used:
https://github.com/Baudin999/ckAvalon_md/blob/master/src/app/modules/characters/pages/add-character.html
This view is loaded in a Dialog.