mirror of
https://github.com/discourse/discourse.git
synced 2025-09-11 21:04:42 +08:00
FIX: reverts combobox placeholder and introduces noneLabel
noneLabels works almost like none but instead of actually adding a row in the list, it will only change the text displayed in the header, when there's no selection.
This commit is contained in:
parent
125434dcdf
commit
3287ac77e0
10 changed files with 41 additions and 23 deletions
|
@ -262,7 +262,8 @@ export default Ember.Component.extend(UtilsMixin, PluginApiMixin, DomHelpersMixi
|
|||
|
||||
@computed("none")
|
||||
noneRowComputedContent(none) {
|
||||
if (isNone(none)) { return null; }
|
||||
if (isNone(none)) return null;
|
||||
|
||||
let noneRowComputedContent;
|
||||
|
||||
switch (typeof none) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue