make polynesia mobile phone number valid
This commit is contained in:
parent
5471b8d22b
commit
3697c610b6
1 changed files with 1 additions and 1 deletions
|
@ -20,5 +20,5 @@ class Champs::PhoneChamp < Champs::TextChamp
|
|||
possible: true,
|
||||
allow_blank: true,
|
||||
message: I18n.t(:not_a_phone, scope: 'activerecord.errors.messages')
|
||||
}
|
||||
}, unless: -> { Phonelib.valid_for_country?(value, :pf) }
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue