I have an input with an array of entities with an ID which must be unique I've tried this:
'authors.*.id' => 'different:authors.*.id'
But it says 'The authors.0.id and authors.0.id must be different' So what is a right way to validate this?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2rzzjWx
via IFTTT
Aucun commentaire:
Enregistrer un commentaire