Closed Techbinator closed 7 months ago
Hello @Techbinator,
You can disable built-in validation by passing a null
invalidMessage
property as follow:
<v-phone-input
:invalid-message="null"
/>
However, using VPhoneInput for your current requirement may not be a good idea, as it will try to format the number to E164 according to the given country (e.g. +3318
with 18
input for France).
@Techbinator I will add a note on the default validation by-passing on README, feel free to reopen this issue if it is not resolved.
awesome thanks a lot! Works like a charm
Description
I would to modify the validation in order to allow emergency numbers(3-4 digits) like:
Police: 117 Fire service: 118 Medical service: 144
I tried the
rules
prop but that seems to add extra validation on top of the one that is already provided.Is there an workaround that would allow me to overwrite all the built in validation rules or a prop that would allow this type of numbers?
Expected Behavior
When passing the
rules
prop it should overwrite all the other validationsActual Behavior
When rules prop is passed it simply adds extra
rules
on top of the built in onesSteps to Reproduce the Problem
Specifications
Latest version