Skip to content

Conversation

@abelsiqueira
Copy link
Collaborator

Pull request details

List of related issues or pull requests

Refs:

Describe the changes made in this pull request

The orcid now has a mask that only permits writing the numbers (and X at the end).
To not write the mask to the cff object, I added a condition on setAuthorField.
I removed the hint and label, since they are unnecessary now.

This is the empty field:
image

Instructions to review the pull request

Use the preview to try to break the orcid field. Try pasting the full URL, and just the id.

@github-actions
Copy link

Once the build has completed, you can preview your PR at this URL: https://cffinit.netlify.app/PR629/

@github-actions
Copy link

Once the build has completed, you can preview your PR at this URL: https://cffinit.netlify.app/PR629/

@github-actions
Copy link

Once the build has completed, you can preview your PR at this URL: https://cffinit.netlify.app/PR629/

Copy link
Member

@fdiblen fdiblen left a comment

Choose a reason for hiding this comment

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

Works flawlessly 🦩

@abelsiqueira
Copy link
Collaborator Author

Thanks for the review 🐦

@abelsiqueira abelsiqueira changed the title Add a mask to orcid field and manipulate to work with either full URL or just the id Add a mask to orcid field Aug 18, 2022
@abelsiqueira abelsiqueira merged commit a4c5020 into main Aug 18, 2022
@abelsiqueira abelsiqueira deleted the 621-orcid branch August 18, 2022 14:26
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.

3 participants