promoted attr selection using autocomplete will trigger change event to save it, closes #699

pull/255/head
zadam 2020-06-14 16:04:00 +07:00
parent fb975849b9
commit fb3876d28b
1 changed files with 2 additions and 0 deletions

@ -149,6 +149,8 @@ export default class PromotedAttributesWidget extends TabAwareWidget {
cb(filtered);
}
}]);
$input.on('autocomplete:selected', e => this.promotedAttributeChanged(e))
});
}
else if (definition.labelType === 'number') {