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

13 lines
378 B
Markdown
Raw Permalink Normal View History

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