Skip to content
This repository was archived by the owner on May 16, 2024. It is now read-only.
This repository was archived by the owner on May 16, 2024. It is now read-only.

value is not stored in database when datatype is bigint #27

@vinnyjismy

Description

@vinnyjismy

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(),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions