Commit d7127c40 authored by nickstiffler's avatar nickstiffler Committed by Yannis Barlas
Browse files

feat(submission form): make suggested reviewers field free text

parent 180f08e7
......@@ -279,23 +279,14 @@ const InitialSubmission = props => {
value={get(values, 'funding')}
/>
<AutoComplete
<TextField
data-test-id="suggested-reviewer"
error={get(errors, 'suggestedReviewer.name')}
fetchData={getWBPerson}
handleBlur={handleBlur}
label="Suggested Reviewer"
handleChange={handleChange}
label="Suggested Reviewers"
name="suggestedReviewer.name"
onChange={e =>
onAutocompleteChange(
e,
'suggestedReviewer.name',
setFieldValue,
handleChange,
)
}
onSuggestionSelected={onSuggestionSelected}
placeholder="Please suggest a reviewer"
placeholder="Please suggest reviewers, including email or ORCiD if possible"
required
setFieldValue={setFieldValue}
touched={touched}
......@@ -317,12 +308,14 @@ const InitialSubmission = props => {
touched={touched}
value={get(values, 'disclaimer')}
/>
<Info>
If you are planning to submit similar articles within a week or if this
microPublication is part of an integration set, please notify the editor
with a comment in the box below. This will help us speed the review
process.
</Info>
<TextEditor
data-test-id="comments"
error={get(props.errors, 'comments')}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment