Commit 73809841 authored by Korko's avatar Korko
Browse files

Disable phone number reformat, it breaks the form

parent 8be49797
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<td class="row border-right"> <td class="row border-right">
<div class="input-group"> <div class="input-group">
<span class="input-group-addon lang" lang="fr">(+33)</span> <span class="input-group-addon lang" lang="fr">(+33)</span>
<input type='tel' pattern='0?[67]\s?(\d\s?){8}' :maxlength="(phone[0] === undefined || phone[0] === '0') ? 10 : 9" :name="'phone['+idx+']'" placeholder="@lang('form.phone.placeholder')" v-model="phone" @focus="$event.target.value = phone" @blur="$event.target.value = phoneNumber" class="form-control participant-phone" :required="(idx < 3 || name !== '') && !email" /> <input type='tel' pattern='0?[67]\s?(\d\s?){8}' :maxlength="(phone[0] === undefined || phone[0] === '0') ? 10 : 9" :name="'phone['+idx+']'" placeholder="@lang('form.phone.placeholder')" v-model="phone" class="form-control participant-phone" :required="(idx < 3 || name !== '') && !email" />
</div> </div>
</td> </td>
<td class="row border-right text-left participant-exclusions-wrapper"> <td class="row border-right text-left participant-exclusions-wrapper">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment