You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 16, 2024. It is now read-only.
i have created a database field for storing the checkbox value. The value say 2,3 is saved into database as expected when field type is text. But when this field type is Bigint the single value is only get saved even if i select multiple checkbox ie only saving value 2 instead of 2,3 in database
$options = [];
$groups = Group::select('id', 'name')->orderBy('name')->get();
foreach($groups as $group) {
$options[$group->id] = $group->name;
}
Checkboxes::make('groups')->options($options)->saveAsString(),