Edit not working
I am going through a tutorial and have watched the same video a few times to see if I had incorrect syntax on my form, but to me it looked ok. But when I hit 'edit' and then click save changes I get an error that the value already exists. This is happening on each of the forms I created.
Solution:Jump to solution
Because you have
->unique()
validation, you have to provide like ->unique(ignoreRecord: true)
3 Replies
Solution
Because you have
->unique()
validation, you have to provide like ->unique(ignoreRecord: true)
I see, was thinking about that but in the tutorial it's only unique doesn't have the ignoreRecord. I'm assuming they did it on off cam.
Thank you