Ticket 1020 fix wrong ckeditor name value on minicrud

This commit is contained in:
Jérémy Munsch 2022-08-10 12:56:48 +02:00
parent 4a3b25ded8
commit 51feceaba5
No known key found for this signature in database
GPG key ID: 18361AF3BFEC0FEC

View file

@ -27,7 +27,7 @@
@php
$editor = [
'csrf' => csrf_token(),
'name' => 'data[{{$k}}][text]',
'name' => "data[$k][text]",
'text' => old("data.$k.text") ?? $input['text'] ?? ''
];
@endphp