Skip to content

Commit 613710f

Browse files
khangoncweitat
andauthored
fix-8686:Sort speakers according to the Alphabet and allow typing of … (#8778)
* fix-8686:Sort speakers according to the Alphabet and allow typing of names * fix-8686: Sort speakers according to the Alphabet and input search * fix-8686: Sort speakers according to the Alphabet and allow search multiple --------- Co-authored-by: cweitat <[email protected]>
1 parent 5ab8d50 commit 613710f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/templates/components/forms/session-speaker-form.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818
{{t 'Choose from existing speaker(s)'}}
1919
</h4>
2020
<UiDropdown
21-
@class="fluid multiple selection"
21+
@class="fluid multiple search selection {{if this.addNewSpeaker "disabled"}}"
2222
@selected={{this.speakersDetails}}
2323
@onChange={{action (mut this.speakersDetails)}} as |execute mapper|>
2424
<i class="dropdown icon"></i>
2525
<div class="default text">
2626
{{t 'Select Speakers'}}
2727
</div>
2828
<div class="menu">
29-
{{#each (sort-by 'position' this.speakers) as |speaker|}}
29+
{{#each (sort-by 'name' this.speakers) as |speaker|}}
3030
{{#if speaker.name}}
3131
<div data-value="{{map-value mapper speaker}}" class="item">
3232
{{speaker.name}}

0 commit comments

Comments
 (0)