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
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Mark Chaney
Mark ChaneyOP2y ago
no errors, it simply ignores the requirement
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Mark Chaney
Mark ChaneyOP2y ago
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
Want results from more Discord servers?
Add your server