Form element style discrepancy?

sjenkinsdc

New Member
I've created a form with 1 databasejoin element and 3 dropdown elements. The databasejoin dropdown element is created with the following info:
class="fabrikinput inputbox input input-large" size="1"

whereas the dropdown elements are created with this class:
class="fabrikinput inputbox"

I need my dropdowns to have the same style and am curious if there is a place in the admin that I can control this? If not, where is this getting generated and why are they different?

Thanks for your help,
Stacey
 
Also, how can I add classes to the form element? Is there a way to do that in the Admin? I'd like to add bootstrap classes.
 
Hi Stacey

I've update the code for the dropdown element, so that you can select a bootstrap class for it (edit the element and it will be under the new 'formatting' tab). I've also added the 'input' class as default to the select list.
This is the commit https://github.com/Fabrik/fabrik/commit/d108ab9fd7826b175da3ff37e29759da01f907e5
You will need to update from github (see my signature) to be able to access the change.

We don't currently have a way to assign specific classes to the element.
You could access any dropdown element with this css:

CSS:
.plg-dropdown select {
 
}

or a specific element with the element's full name:

CSS:
#tablename___elementname {
 
}
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top