Skip to content

Commit

Permalink
Merge pull request #1107 from hubmapconsortium/abstract
Browse files Browse the repository at this point in the history
Gives the Abstract field in the Publications form more rows & makes R…
  • Loading branch information
yuanzhou authored May 10, 2023
2 parents a6e8779 + 0314bdf commit 093426a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/src/components/ingest/publications_edit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1285,7 +1285,7 @@ class PublicationEdit extends Component {
let isValid = true;

// Check required fields
var requiredFields = ["title","publication_venue","publication_date","publication_url" ];
var requiredFields = ["title","publication_venue","publication_date","publication_url","description" ];
var errorMsg = "Field is Required"
requiredFields.forEach((field) => {
if(this.validateProcessor(field, errorMsg) === false) {
Expand Down Expand Up @@ -2240,7 +2240,7 @@ class PublicationEdit extends Component {
id="description"
name="description"
multiline
// rows={4}
rows={4}
//className={"form-control " +this.errorClass(this.state.formErrors.description) +" "}
onChange={this.handleInputChange}
value={this.state.editingPublication.description}
Expand Down

0 comments on commit 093426a

Please sign in to comment.