picea-ui/docs/10-ui-text.md

13 lines
346 B
Markdown

# `ui:text` (string $name, mixed $value = null, array $attributes = [], array $options = [])
Built on top of `ui:input`.
The following attributes are assigned by this extension :
- `'class' => "ui-text"`
- `'type' => "text"`
and will typically be rendered such as :
```html
<input class="ui-text" type="text" value="$value" name="$name">
```