You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is it possible to use the
exists
validation rule when using embedded models?Let's say I have my
Foo
model whichEmbedsMany
Bar
models. In my DB I have something like this:Is there a way I could use Laravel's
exists
rule for validating a bar id? Maybe something like this?Beta Was this translation helpful? Give feedback.
All reactions