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

Collapse does not work #529

Open
jhowdenSA opened this issue Aug 10, 2023 · 3 comments
Open

Collapse does not work #529

jhowdenSA opened this issue Aug 10, 2023 · 3 comments

Comments

@jhowdenSA
Copy link

In this form.io example the collapse works when you click on a section like basic, usefields, layout. It does not work in this exhttps://formio.github.io/react-app-starterkit/#/components (builder) unless you click on another section title.

@antonSoftensity
Copy link

React Starterkit example doesn't use the js files that bootstrap provides, so in this case this is the default behavior of Formio FormBuilder.

@viemmsakh
Copy link

What is this an issue with? This repository or the example you linked to? The example you linked to belongs with the /formio/react-app-starterkit repository. Where as, best I can tell, what you are referring to is the example on Form.io's website here

Either way, those are both just examples and not the underlying code itself...

With the starterkit example it is not using bootstrap and has access to none of the bootstrap functionality.

@jhowdenSA
Copy link
Author

I am using formio.js and wanting to have the same collapse functionality as bootstrap does by default. It seems that if I want to get the default bootstrap functionality to work I would need to add the js files that bootstrap provides and override the collapse functionality in WebformBuilder.js which has its own collapse functionality.

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

No branches or pull requests

3 participants