Skip to content

Conversation

@sandbergja
Copy link
Contributor

Before this commit, modalForm.js was not included in the rollup build, which meant that applications with forms in the modal would not work properly, even if they had the required data-blacklight-modal=trigger

To confirm the fix, you can run:

npm install && npm run prepare && grep triggerFormSelector app/assets/javascripts/blacklight/blacklight.js

If you get a match, that means that the file is included in the javascript build and applications can use it.

See also #3466, which backports this fix to release-8.x.

Before this commit, modalForm.js was not included in the rollup build, which meant
that applications with forms in the modal would not work properly, even if they
had the required data-blacklight-modal=trigger

To confirm the fix, you can run:
npm install && npm run prepare && grep triggerFormSelector app/assets/javascripts/blacklight/blacklight.js

If you get a match, that means that the file is included in the javascript build and applications can use it.

Co-authored-by: Christina Chortaria <[email protected]>
Copy link
Member

@christinach christinach left a comment

Choose a reason for hiding this comment

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

Thank you @sandbergja ! @christinach 🍄 🐬

@christinach christinach merged commit 9880cc9 into main Dec 10, 2024
13 checks passed
@christinach christinach deleted the import-modal-form-main branch December 10, 2024 22:19
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