Add validation

This commit is contained in:
leigh-mil
2018-10-31 16:51:23 -04:00
parent b13ba188bf
commit 2dd1822cf8
2 changed files with 7 additions and 1 deletions

View File

@@ -6,7 +6,7 @@
{{ TextInput(phone_number, placeholder=placeholder_phone, validation='usPhone') }}
</div>
<div class='phone-input__extension'>
{{ TextInput(phone_ext)}}
{{ TextInput(phone_ext, validation='phoneExt')}}
</div>
</div>
{%- endmacro %}