unique field erroring on update
Having issues with the unqiue constraint requiring the field to be unique, even on updating. It should only be unique if it is being changed to something different or while being created, not when it is unchanged.
Solution:Jump to solution
Just like normal laravel you have to tell it it ignore itself. Example from the docs.
Field::make('email')->unique(ignorable: $ignoredUser)
...2 Replies