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 has been 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(),
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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();
The text was updated successfully, but these errors were encountered: