laravel/nova-issues

KeyValue casting in laravel 11 not working anymore

maul75 opened this issue · 1 comments

  • Laravel Version: 11.7.0
  • Nova Version: 4.33.3
  • PHP Version: 8.2

Description:

After upgrading from Laravel 10 to 11, my KeyValue fields in nova are stored in different style into the database column, so the casting back to array and using the field items in nova is not possible anymore.

Laravel 10 in DB colum: {"autoplay":"no"} Laravel 11 now: "{\"autoplay\":\"no\"}"

Can anybody confirm this?

After switching to Laravel 10 the problem persists, have to find out, what is going wrong here ...