Open shqear93 opened 3 years ago
validates :attribute, phone: { allow_blank: true, countries: [:us, :ca] }
Phone number should be valid if it's at least valid for one country from the provided list
@shqear93 nice PR, can you make this behavior optional, maybe via config param? And additionally this behavior doesn't respect possible param, this is required too
@daddyz I'll work on that soon
Phone number should be valid if it's at least valid for one country from the provided list