FIX: call onSelect plugin callbacks for noop rows (#6682)

This commit is contained in:
Joffrey JAFFEUX
2018-11-29 15:56:19 +01:00
committed by GitHub
parent 6b433b66f5
commit 8da8f5d0f7
4 changed files with 64 additions and 1 deletions

View File

@ -265,6 +265,12 @@ export default SelectKitComponent.extend({
}
if (computedContentItem.__sk_row_type === "noopRow") {
applyOnSelectPluginApiCallbacks(
this.get("pluginApiIdentifiers"),
computedContentItem.value,
this
);
this._boundaryActionHandler("onSelect", computedContentItem.value);
return;
}