react icon indicating copy to clipboard operation
react copied to clipboard

Collapse does not work

Open jhowdenSA opened this issue 1 year ago • 3 comments

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.

jhowdenSA avatar Aug 10 '23 18:08 jhowdenSA

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

antonSoftensity avatar Aug 17 '23 13:08 antonSoftensity

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.

viemmsakh avatar Aug 23 '23 03:08 viemmsakh

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.

jhowdenSA avatar Aug 23 '23 17:08 jhowdenSA