multiSelect property
bool
get
multiSelect
Gets or sets a value indicating whether the field is multi-selectable.
The default value is false.
Implementation
bool get multiSelect {
if (_helper.isLoadedField) {
_multiSelect = _helper.isFlagPresent(FieldFlags.multiSelect) ||
_helper.flags.contains(FieldFlags.multiSelect);
}
return _multiSelect;
}
set
multiSelect
(bool value)
Implementation
set multiSelect(bool value) {
if (_multiSelect != value || _helper.isLoadedField) {
_multiSelect = value;
_multiSelect
? _helper.flags.add(FieldFlags.multiSelect)
: _helper.isLoadedField
? _helper.removeFlag(FieldFlags.multiSelect)
: _helper.flags.remove(FieldFlags.multiSelect);
}
}