TextInput
An input field that let the user enter a single-line text
Provides a wrapper for Phoenix.HTML.Form's text_input/3
function.
All options passed via opts
will be sent to text_input/3
, value
and
class
can be set directly and will override anything in opts
.
<TextInput value="A single-line text" />