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
It is possible to add a custom template to change the way items are visible. The given label will be used to retrieve the correct name to be visible in the input field.
67
+
It is possible to add a custom template to change the way items are visible.
60
68
61
69
```Html
62
70
<ng-template#customTemplatelet-item="item">
@@ -66,10 +74,30 @@ It is possible to add a custom template to change the way items are visible. The
By default ngx-mention will expect a array structure defined like the interface [NgxMention](projects/src/lib/ngx-mention/src/lib/ngx-mention.config.ts).
82
+
By default ngx-mention will look to a property value which will parsed into the input or textarea.
83
+
84
+
You can alter this behavior by using the formatSelected configuration.
0 commit comments