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