richeditor not send value to db
im trying to save richeditor field to db
this is my code
RichEditor::make('alasan')
->fileAttachmentsDisk('local')
->fileAttachmentsDirectory('retur/penjualan')
->fileAttachmentsVisibility('public')
->columnSpan('full')
5 Replies
did you added
alasan
to your $fillable
model?yes
i make it unguard
dd mutatebeforecreate
not contain alasan field
i got error in console log to
solved bro i forgot to put default value inside my loop