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

378 B

ui:datetime (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-datetime"
  • 'type' => "datetime-local"

and will typically be rendered such as :

<input class="ui-datetime" type="datetime-local" value="$value" name="$name">