unique() is not working in edit ?

unique() not working in edit / save i don't change value but when use unique they said it already exist while i don't touch that value
No description
3 Replies
Dennis Koch
Dennis Koch2y ago
There is an option to exclude the current model.
AntV
AntV2y ago
->unique(ignoreRecord: true)
ironheartkh
ironheartkhOP2y ago
thank guys i got it one more thing my policy not working in shield

Did you find this page helpful?