generic Radio Group
fun <T> Container.genericRadioGroup(options: List<<Error class: unknown class><T, String>>? = null, value: T? = null, name: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false, toStr: (T) -> String = {
it.toString()
}, fromStr: (String) -> T? = {
@Suppress("UNCHECKED_CAST")
it as? T
}, init: GenericRadioGroup<T>.() -> Unit? = null): GenericRadioGroup<T>
DSL builder extension function.
It takes the same parameters as the constructor of the built component.