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

351 B

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

and will typically be rendered such as :

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