FIX: category-drop initial state was incorrect (#6743)

This commit is contained in:
Joffrey JAFFEUX
2018-12-10 14:05:00 +01:00
committed by GitHub
parent 314c084e5d
commit e06a8980fb
5 changed files with 110 additions and 13 deletions

View File

@ -56,6 +56,11 @@ export default SelectKitComponent.extend({
this.set("value", computedValue);
},
forceValue(value) {
this.mutateValue(value);
this._compute();
},
_beforeWillComputeValue(value) {
if (
!isEmpty(this.get("content")) &&