Closed ruturajpatki closed 8 years ago
Hello. I'm afraid to say it doesn't support classes on group fields. :( I'm sorry. I'll update the info later
Yes, you're right. It doesn't support classes on group fields. For group fields, you just need to create an array of CMB Fields and let the code decide which classes to apply in order to distribute the fields evenly.
I will wait for the author to update his plugin and add support for classes so we can decide how much to stretch a certain field by supplying number of columns to span it over.
Hi,
I have a CMB2 Group and want to use Grid for the group fields. Following code works without error...
But when I try to specify Bootstrap classes (like in the code below)...
... I get following error:
Can someone please tell me what's wrong and what is the right way to do it? I checked example file but it does not declare field array with Bootstrap Classes.
Waiting for your reply...
Cheers,
Ruturaaj.
UPDATE: My IDE shows following error: