OptionGroup allows the user to select one item from a restrictedcollection (usually 3 to 5 items).
View source codestringThe name of the OptionGroup
Option<K>[]Options contained within the OptionGroup
string | booleanThe current value
stringclassName for the element
booleanWhether the OptionGroup should be disabled.
Default: falsebooleanWhether the OptionGroup is invalid.
ChangeEventHandler<HTMLInputElement>Handler that is called when the value changes.