You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use the ment.io as follow <textarea ng-model="input.message" required mentio-select="mentionSelected(person)" = maxlength="1500" msd-elastic mentio mentio-typed-text="typedTerm" mentio-template-url="/people-mentions.tpl" mentio-items="users | filter:label:typedTerm"></textarea>
I want to call mentionSelected() function, but item person is undefined because its value is defined in people-mentions.tpl as follow
I use the ment.io as follow
<textarea ng-model="input.message" required mentio-select="mentionSelected(person)" = maxlength="1500" msd-elastic mentio mentio-typed-text="typedTerm" mentio-template-url="/people-mentions.tpl" mentio-items="users | filter:label:typedTerm"></textarea>
I want to call mentionSelected() function, but item person is undefined because its value is defined in people-mentions.tpl as follow
<script type="text/ng-template" id="/people-mentions.tpl"> <ul class="list-group mention-list-up mention-list triangle-isosceles"> <li mentio-menu-item="person" ng-repeat="person in items" class="list-group-item" style="position: relative; margin-bottom: 15px"> <span class="text-primary" style="left: 35px; margin-left: 40px; font-size: 12px; padding-top: 10px" ng-bind-html="person.user.userInfo.firstName | mentioHighlight:typedTerm:'menu-highlighted' | unsafe" ></span> </li> </ul> </script>
I tried to add mentio-select on the ul in the code above but it didn't work how can I do this?
The text was updated successfully, but these errors were encountered: