Closed vbezruchkin closed 2 years ago
Hello,
Thanks for your great package.
I'm trying to use the following code in the settings list:
BooleanGroup::make('Shipping days', 'shipping_days') ->options([ 'monday' => 'Monday', 'tuesday' => 'Tuesday', 'wednesday' => 'Wednesday', 'thursday' => 'Thursday', 'friday' => 'Friday', 'saturday' => 'Saturday', 'sunday' => 'Sunday', ]),
I also pass cast type like:
'shipping_days' => 'array',
I get the following error as a result.
BadMethodCallException Method Illuminate\Support\Collection::isAssoc does not exist.
Any ideas please? I tried cast it like collection & json - nothing worked.
Thanks in advance.
Hei, @vbezruchkin 👋🏻 !
Checkout issue #19, should help with the problem you are having.
Hello,
Thanks for your great package.
I'm trying to use the following code in the settings list:
I also pass cast type like:
I get the following error as a result.
Any ideas please? I tried cast it like collection & json - nothing worked.
Thanks in advance.