HEEx
<div class="w-md">
<ConnieUI.Forms.text placeholder="Director Agreement" field={@field} />
</div>
Variant matrix
Every combination of one or two attributes, side by side.
Controls
Set by the example
field
Docs
No @doc for this component.
| Attribute | Type | Default | Description |
|---|---|---|---|
| No data found. | |||
| field * | {:struct, Phoenix.HTML.FormField} |
|
|
| size | :string | "sm" |
sm | md
|
| type | :string | "text" |
|
| icon | :string | nil |
leading icon, as in `search/1`
|
| mask | :string | nil |
shape the value is held to as it is typed, in the notation `identity_number/1`
uses (`#` a digit, `A` a letter, `X` either, anything else a separator).
An empty string holds no shape but keeps the input ready for one, for an
input whose mask comes and goes as the rest of the form changes.
|
| rest | :global |
|
|