Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

[Bug] - Replace bootstrap as jQuery needs to be added for bootstrap #272

Open
mani-vandrangi opened this issue Oct 30, 2020 · 0 comments
Open
Assignees
Labels
Enzymes Enhancements that build upon existing code samples in the platform and make them more consumable

Comments

@mani-vandrangi
Copy link
Contributor

Describe the bug
When an app uses bootstrap, jQuery is also needed to be added as a dependency due to https://stackoverflow.com/questions/22658015/bootstrap-throws-uncaught-error-bootstraps-javascript-requires-jquery

Link to the bug'd Sample App
https:/freshworks/marketplace-sample-apps/blob/master/Freshworks-Samples/Freshservice/show_ticket_and_associated_details/app/content.html

To Reproduce
Steps to reproduce the behavior:

  1. Build any front end app with bootstrap without adding jQuery dependency and run the app locally
  2. Console throws the error "Uncaught Error: Bootstrap's JavaScript requires jQuery"
  3. Add jQuery dependency and rerun the app. Console won't throw the above error.

Expected behavior

  1. We should build a frontend app without jQuery dependency.

Screenshots
If applicable, add screenshots to help explain your problem.

Browser (please complete the following information):
Chrome

Additional context

@Saif-Shines Saif-Shines added the Enzymes Enhancements that build upon existing code samples in the platform and make them more consumable label May 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Enzymes Enhancements that build upon existing code samples in the platform and make them more consumable
Projects
None yet
Development

No branches or pull requests

3 participants