requiredWithout() with repeater field being the requirement
any recommendations for using ->requiredWithout('user.phone_numbers') where 'user.phone_numbers' is a Repeater field? Im trying to use this require on my email field and have it only required if they dont save a phone number, but my allow multiple phone number, so its a repeater field. Thoughts?
4 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
no errors, it simply ignores the requirement
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
That’s a decent idea. Thanks. Will try it out with the default state idea
I did want one item to show by default, but this might be the only solution