private boolean disableOthersOnChange = true;
public ConfigurableOptionGroupField(Collection<T> collection, Transformer<T, String> itemCaptionResolver, ItemComponentGenerator<T> componentGenerator,
Boolean multiSelect) {
this.itemCaptionResolver = itemCaptionResolver;
this.optionGroup = new FlexibleOptionGroup(collection);
this.componentGenerator = componentGenerator != null ? componentGenerator : new DefaultItemComponentGenerator<T>();
if (multiSelect != null) {
setMultiSelect(multiSelect);
}
this.optionGroup.setImmediate(true);