An input field that let the user enter a telephone number

Provides a wrapper for Phoenix.HTML.Form's telephone_input/3 function.

All options passed via opts will be sent to telephone_input/3, value, pattern and class can be set directly and will override anything in opts.

# Public API

Name Description Type Values Default
opts Options list.

:keyword []
class Class or classes to apply to the input.

value Value to pre-populated the input.

field An identifier for the input.

form An identifier for the form.

pattern A regular expression to validate the entered value.