Extra attributes not working on dropdown fields
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
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
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
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:
Best regards,
Max
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
Hello
How to set the height Textarea in "container class" ?
Best regards,
Maxvl
How to set the height Textarea in "container class" ?
Best regards,
Maxvl
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
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
This topic is locked and no more replies can be posted.