value property
Implementation
@override
List<String> get value =>
_selectElement.selectedOptions.map((so) => so.text!).toList();
Implementation
@override
set value(List<String> newValue) {
final oldValue =
_selectElement.selectedOptions.map((so) => so.text!).toList();
for (final option in _selectElement.options) {
if (newValue.contains(option.text)) {
option.selected = true;
}
}
fireValueChange(oldValue, value);
}