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

Remove vestiges of old multipart dropdown handling: hidden field and unused JS #4845

Merged
merged 1 commit into from
Aug 22, 2022

Conversation

cjcolvar
Copy link
Member

@cjcolvar cjcolvar commented Aug 22, 2022

The hidden field is spamming the form since it is always "local" (because the JS isn't matching the new CSS classes) and is interleaved with the real values coming from the select inputs. For example, submitting the form with two values in other identifiers field of Other: agz3068 and OCLC: ocm9072382 the other_identifier_type form data is ["local", "other", "local", "oclc"].

@cjcolvar cjcolvar requested a review from Dananji August 22, 2022 19:31
Copy link
Contributor

@Dananji Dananji left a comment

Choose a reason for hiding this comment

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

Looks great! 🎉

@cjcolvar cjcolvar merged commit 28672cd into develop Aug 22, 2022
@cjcolvar cjcolvar deleted the changlings branch August 22, 2022 19:56
@cjcolvar cjcolvar mentioned this pull request Nov 29, 2022
26 tasks
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.

2 participants