mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
select-kit refactoring
* better test helper * more reliable tests * more consistent use of data-value/data-name/title/aria-label everywhere: header and rows
This commit is contained in:
parent
364e6fdd53
commit
315b9d796d
60 changed files with 827 additions and 641 deletions
|
@ -61,7 +61,7 @@ export default Ember.Component.extend(UtilsMixin, PluginApiMixin, DomHelpersMixi
|
|||
computedContent: null,
|
||||
limitMatches: 100,
|
||||
nameChanges: false,
|
||||
allowsContentReplacement: false,
|
||||
allowContentReplacement: false,
|
||||
collectionHeader: null,
|
||||
|
||||
init() {
|
||||
|
@ -82,7 +82,7 @@ export default Ember.Component.extend(UtilsMixin, PluginApiMixin, DomHelpersMixi
|
|||
this.addObserver(`content.@each.${this.get("nameProperty")}`, this, this._compute);
|
||||
}
|
||||
|
||||
if (this.get("allowsContentReplacement")) {
|
||||
if (this.get("allowContentReplacement")) {
|
||||
this.addObserver(`content.[]`, this, this._compute);
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue