How do I make a validation rule that allows only a 1 or null?
Thanks.
I guess it would be 'sometimes|integer|in:1', but I'm not sure and can't test it right now.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community