FIX: improves and fixes a regression with category-selector (#9821)

This commit is contained in:
Joffrey JAFFEUX
2020-05-18 17:44:47 +02:00
committed by GitHub
parent 96848b7649
commit cfad38184d
3 changed files with 17 additions and 3 deletions

View File

@@ -43,6 +43,10 @@ export default MultiSelectComponent.extend({
);
},
modifyComponentForRow() {
return "category-row";
},
actions: {
onChange(values) {
this.attrs.onChange(

View File

@@ -1,4 +1,6 @@
<div class="body">
{{badge}}
{{d-icon "times"}}
<div {{action "onSelectedNameClick"}} tabindex="0" title={{title}} data-value={{value}} data-name={{name}} class="select-kit-selected-name selected-name choice">
<div class="body">
{{badge}}
{{d-icon "times"}}
</div>
</div>