setting container class to hidden hides the element in editor

Hidden container class hides form elements in the editor.

Overview

Setting a container class to "hidden" on a field within a deprecated Fields element causes it to disappear from the CF editor upon saving.
Manually edit the connection's database record to remove or alter the "hidden" value in the container_class parameter, or adjust the relevant configuration file to restore visibility.

Answered
Connectivity v6
em emmexx 10 Sep, 2018
joomla 3.8.12
cc6 6.0.7

If I set the container class of a textarea to hidden the item disappears from the editor after pressing Apply or saving the connection.

maxx
he healyhatman 18 Sep, 2018
REPLICATED

Just for additional information - he means the textarea element INSIDE a Fields element. Not a standalone field.
em emmexx 01 Apr, 2019
The problem is there for dropdowns too.
I didn't try but I suppose that every field with a container class setting is going to disappear when adding the hidden value.

I my opinion this should be fixed ASAP.

Thank you
maxx
he healyhatman 01 Apr, 2019
Answer
Probably not going to be fixed, since the Fields element is deprecated and no longer used.
em emmexx 01 Apr, 2019

Probably not going to be fixed, since the Fields element is deprecated and no longer used.


Do you know what is going to happen to a CCV6 connection that uses the Fields object when updating?
There's no Fields Element in CC 6.0.10.
em emmexx 11 Jul, 2019
As a workaround:
  1. in phpmyadmin edit the record of the connection in #__chronoengine_connections6
  2. in the view field value search for hidden or for the name of the item
  3. in the group of parameters of that item search for container_class and then for hidden
  4. change hidden to hiddex (or remove hidden)
  5. save the record
  6. edit the connection in chronoconnectivity
he healyhatman 11 Jul, 2019
Or just go to libraries/cegcore2/administrator/extensions/chronofc/views/whatever's it's called and there's a line in the .ini file you can change to show it again.
This topic is locked and no more replies can be posted.