diff --git a/src/components/participants-text-field.jsx b/src/components/participants-text-field.jsx index a6a339d38..fae9d393e 100644 --- a/src/components/participants-text-field.jsx +++ b/src/components/participants-text-field.jsx @@ -72,20 +72,11 @@ export default class ParticipantsTextField extends React.Component { } _completionNode = (p) => { - if (p instanceof Contact) { - return ( - - ); - } + const CustomComponent = p.customComponent + if (CustomComponent) return () return ( - - ) + + ); } _tokensForString = (string, options = {}) => {