ng-admin icon indicating copy to clipboard operation
ng-admin copied to clipboard

Would be great if there was an easy way to hide/show a group of fields on a clic

Open jbrownD3 opened this issue 7 years ago • 1 comments

I have some entities with dozens of fields, I would like to be able to open/close or show/hide groups of fields with a click. I tried to do it with cssClasses, but since the cssClasses are applied to the input field and not the div that wraps the entire field, the labels are not hidden. I know I can define a complete template for my field, but I don't want to do that for the large number and all the types of fields I have.

I'm open to other ideas as well, I'm more of a Java developer and know enough jQuery to do damage...angular is currently frustrating me in many ways :)

jbrownD3 avatar Dec 28 '16 21:12 jbrownD3

Being a java developper myself, I feel your pain @jbrownD3 :)

You can have a look a different approach to achieve this: https://github.com/marmelab/ng-admin/pull/657 https://github.com/marmelab/ng-admin/issues/978#issuecomment-199177210

Phocea avatar Jan 04 '17 09:01 Phocea