Forums

Extra attributes not working on dropdown fields

finetuning 23 Aug, 2017
Hello,

I would like to report a potential bug. I am on CF 6.0.6 and Joomla 3.7.5.

If I try to add some attributes in a dropdown field in Advanced > Extra Attributes, nothing appears in the HTML tag.
For example, something like this

class:company_field


has no effect at all.
By the way, I think it could be useful to have a CSS class field directly in the main setup tab (General).

Thanks
Mattia
Max_admin 25 Aug, 2017
Hi Mattia,

Well, not every user needs to add a custom class to the field, that's why its not there.

The dropdown is rebuilt on page load, it may not be possible to assign a class directly, but you can add a "container class" then reference the element this way:
.custom_container_class .ui.dropdown


Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Maxvl 03 Sep, 2017
Hello

How to set the height Textarea in "container class" ?

Best regards,
Maxvl
Max_admin 03 Sep, 2017
1 Likes
Hi Maxvl,

You just set the rows, there is no height setting, but you can do that in CSS, and in the latest update you can enable the expandable textarea feature.

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.