Ons Radio Group
open class OnsRadioGroup(options: List<<Error class: unknown class>>? = null, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, className: String? = null, init: OnsRadioGroup.() -> Unit? = null)
The form field component rendered as a group of OnsenUI radio buttons with the same name attribute.
The radio group can be populated directly from options parameter or manually by adding OnsRadio components to the container.
Parameters
options
an optional list of options (label to value pairs) for the group
value
selected option
name
the name attribute of the generated HTML input element
label
label text of the options group
rich
determines if label can contain HTML code