Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added word limit to abstract fields #219

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

BryceMarshall
Copy link
Contributor

Added logic to add error messages to fields that exceed 500 words

@@ -240,7 +243,20 @@ const IdentificationTab = ({

<BilingualTextInput
value={record.abstract}
onChange={handleUpdateRecord("abstract")}
onChange={(dataEvent) => {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@n-a-t-e This logic seems close, but fields still accept input above the limit - as the payload for each language carries all languages. Does splitting the warnings like this make sense?

@n-a-t-e
Copy link
Member

n-a-t-e commented Dec 12, 2022

Fixes #194

@fostermh fostermh linked an issue Apr 3, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

word limit on abstract
2 participants