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

361 B

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

and will typically be rendered such as :

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