Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
Rozay
Posts
Comments
F
Filament
•
Created by Rozay on 11/4/2023 in
#❓┊help
mutateRecordDataUsing
Hello, thanks for your reply. I changed direction on this so the rotas are handled differently now, I did run into a similar issue with another one of my models and ended up using the before method on the replicate action:
->
before
(
function
(
Grades
$record) {
$record
->
name
=
$record
->
name
.
' (Copy)'
;
}),
->
before
(
function
(
Grades
$record) {
$record
->
name
=
$record
->
name
.
' (Copy)'
;
}),
5 replies