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.
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.