Md Radio
open class MdRadio(id: String? = null, checked: Boolean = false, disabled: Boolean = false, required: Boolean = false, value: String = "on", name: String? = null, validationMessage: String? = null, touchTarget: TouchTarget? = TouchTarget.Wrapper, className: String? = null, init: MdRadio.() -> Unit? = null) : MdFormInputWidget<String>
Radio buttons let people select one option from a set of options.
See https://material-web.dev/components/radio/
Author
Maanrifa Bacar Ali
Constructors
Link copied to clipboard
constructor(id: String? = null, checked: Boolean = false, disabled: Boolean = false, required: Boolean = false, value: String = "on", name: String? = null, validationMessage: String? = null, touchTarget: TouchTarget? = TouchTarget.Wrapper, className: String? = null, init: MdRadio.() -> Unit? = null)
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Indicates the validity of the value of the element. If the value is invalid, this method also fires the invalid event on the element.
Link copied to clipboard
Performs the same validity checking steps as the checkValidity method. If the value is invalid, this method also fires the invalid event on the element, and (if the event isn't canceled) reports the problem to the user.
Link copied to clipboard
Sets a custom validity message for the underlying element.