Hello,
I want to have a checkboxes fields, but some of the possibilites contains comma, is it possible to change the separator of stored values (‘;’ for example). Like in multiselect field.
Thanks
Hello,
I want to have a checkboxes fields, but some of the possibilites contains comma, is it possible to change the separator of stored values (‘;’ for example). Like in multiselect field.
Thanks
The separator is hardcode in the save
method of the field:
'save' => function ($value): string {
return A::join($value, ', ');
},
You would have to overwrite the field.
Oh, ok ty a lot for the answer