-
How can I use the group field without repeater feature?
Posted 1 year ago # -
Hi,
You can use min, max parameters. like this:
... 'min' => 1, 'max' => 1, ...
CopyCopied!another way is, hide add/clone/remove button via css.
// add class parameter for customize 'class' => 'hide-repeater',
CopyCopied!// add below css code on your custom admin.css .hide-repeater .csf-cloneable-add, .hide-repeater .csf-cloneable-clone, .hide-repeater .csf-cloneable-remove{ display: none !important; }
CopyCopied!Regards, Codestar
Posted 1 year ago # -
Thanks, but I think it may be an option
'repeater' : false,
CopyCopied!Posted 1 year ago # -
Hi,
Yes, it's good idea. I can add in next updates.
BUT, If you want to use it without repeater, why you do not use "Accordion" field, it's same style like "Group" ? Also Accordion, Tabbed, Fieldset hasn't repeater feature.
Regards, Codestar
Posted 1 year ago # -
Thanks for support and suggestion
Posted 1 year ago # -
You're welcome
Posted 1 year ago #