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

same class name problem ("form-group") #727

Closed
ug-code opened this issue Mar 16, 2018 · 4 comments · Fixed by #1433
Closed

same class name problem ("form-group") #727

ug-code opened this issue Mar 16, 2018 · 4 comments · Fixed by #1433
Assignees

Comments

@ug-code
Copy link

ug-code commented Mar 16, 2018

Hi kevinchappell,

Sorry for my english
my english is very bad : )

your javascript file is not custom for my theme metronic

for example
my theme css use this class name (form-group)
<div class="form-group"> bla bla</div>

and you javascript file is as follows (form-builder.min.js)
.form-elements, .form-group, .multi-row span, textarea { display: block; }

you have to add custom name
for example
.fb-form-elements, .fb-form-group, .fb-multi-row span, fb.textarea { display: block; }
or
.fb.form-elements, .fb.form-group, .fb.multi-row span, fb.textarea { display: block; }

@kevinchappell kevinchappell self-assigned this Nov 3, 2018
@bretto36
Copy link

bretto36 commented Feb 5, 2021

This is still present and an issue. In bootstrap 4 form-group is by default display:flex but this class forces it to be display block.

Can we simply add a prefix to the class names

.form-builder .form-elements, .form-builder .form-group, .form-builder .multi-row span, .form-builder textarea { display: block; }

@dainw
Copy link

dainw commented May 2, 2022

Including formBuilder on a bootstrap page results in all form-group elements being broken with display:block. As an example, the button on this form should be attached to the right side of the search box:

image

It looks like form-builder.scss might be closing the .form-wrap.form-builder block early. Please reference this @sophanox comment for a possible solution.

@lucasnetau
Copy link
Collaborator

duplicate of #594

lucasnetau added a commit to lucasnetau/formBuilder that referenced this issue Oct 5, 2023
…aced css selectors under .form-wrap.form-builder. Consolidate two definitions for .toggle-form.
lucasnetau added a commit to lucasnetau/formBuilder that referenced this issue Oct 5, 2023
…aced css selectors under .rendered-form
github-actions bot pushed a commit that referenced this issue Oct 6, 2023
# [3.13.0](v3.12.4...v3.13.0) (2023-10-06)

### Bug Fixes

* Fix GH-594 and GH-727 Bring non-namespaced css selectors under .form-wrap.form-builder. Consolidate two definitions for .toggle-form. ([da89a92](da89a92)), closes [#594](#594) [#727](#727)
* Fix GH-594 and GH-727 Bring non-namespaced css selectors under .rendered-form ([0caf26e](0caf26e)), closes [#594](#594) [#727](#727)

### Features

* Extend disableInjectedStyle option to excluded only the embedded Bootstrap 3 classes while allow the formBuilder styles to be included. ([60524bc](60524bc))
@github-actions
Copy link

github-actions bot commented Oct 6, 2023

🎉 This issue has been resolved in version 3.13.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants