DEV: allows groups-selector to have an onChangeCallback (PR #9399)

GitHub