diff --git a/src/components/Feed/NewPost.jsx b/src/components/Feed/NewPost.jsx index c96427217..793cb579f 100644 --- a/src/components/Feed/NewPost.jsx +++ b/src/components/Feed/NewPost.jsx @@ -13,7 +13,7 @@ class NewPost extends React.Component { } render() { - const {currentUser, allMembers, titlePlaceholder, contentPlaceholder, isCreating, hasError} = this.props + const {currentUser, allMembers, titlePlaceholder, contentPlaceholder, isCreating, hasError, expandedTitlePlaceholder} = this.props let authorName = currentUser.firstName if (authorName && currentUser.lastName) { authorName += ' ' + currentUser.lastName @@ -29,6 +29,7 @@ class NewPost extends React.Component {
{!disableContent && !isGettingComment && @@ -415,6 +415,7 @@ class RichTextArea extends React.Component { } RichTextArea.propTypes = { + expandedTitlePlaceholder: PropTypes.string, onPost: PropTypes.func.isRequired, onPostChange: PropTypes.func.isRequired, cancelEdit: PropTypes.func, diff --git a/src/projects/detail/containers/FeedContainer.js b/src/projects/detail/containers/FeedContainer.js index e56f463a5..0d8be810e 100644 --- a/src/projects/detail/containers/FeedContainer.js +++ b/src/projects/detail/containers/FeedContainer.js @@ -415,6 +415,7 @@ class FeedView extends React.Component { heading="NEW STATUS POST" onNewPostChange={this.onNewPostChange} titlePlaceholder="Start a new discussion" + expandedTitlePlaceholder="Add your discussion title" contentPlaceholder="Add your first post" />