Get the data to submit to the server when the discussion is saved.
Build an item list for the composer's header.
Handle the submit event of the text editor.
Why someone can't be picked as a recipient, if they can't: they couldn't reply. The server still has the final say when the message is sent.
StaticfocusStaticinitInitialize the component's attrs.
This can be used to assign default values for missing, optional attrs.
The
MessageComposercomponent displays the composer content for sending a new message. It adds a selection field as a header control so the user can enter the recipient(s) of their message.