Select function
Component
Select({
- String? className,
- String? style,
- String? id,
- String? name,
- String? value,
- bool multiple = false,
- bool required = false,
- bool disabled = false,
- bool autofocus = false,
- String? autocomplete,
- int? size,
- ValueChanged<
List< ? onInput,String> > - ValueChanged<
List< ? onChange,String> > - Component? child,
- List<
Component> ? children, - Map<
String, String> ? attributes, - Map<
String, EventCallback> ? events, - Key? key,
A select element.
The HTML <select> element represents a control that provides a menu of options.
Implementation
Component Select({
String? className,
String? style,
String? id,
String? name,
String? value,
bool multiple = false,
bool required = false,
bool disabled = false,
bool autofocus = false,
String? autocomplete,
int? size,
ValueChanged<List<String>>? onInput,
ValueChanged<List<String>>? onChange,
Component? child,
List<Component>? children,
Map<String, String>? attributes,
Map<String, EventCallback>? events,
Key? key,
}) {
return jaspr.select(
resolveChildren(child, children),
classes: className,
styles: parseStyles(style),
id: id,
name: name,
value: value,
multiple: multiple,
required: required,
disabled: disabled,
autofocus: autofocus,
autocomplete: autocomplete,
size: size,
onInput: onInput,
onChange: onChange,
attributes: attributes,
events: events,
key: key,
);
}