discourse/app/assets/javascripts/select-kit/addon/components
Alan Guo Xiang Tan 0756486b65
FIX: Adding form template to category dropdown can some times be empty (#25066)
Why this change?

A system test which was testing our ability to add a form template to a
category was flaky. This turned out to be a client side bug where the
`FormTemplateChooser` dropdown may not display any dropdown options if
the ajax request to fetch the categories form template has not been
completed when the dropdown is opened.

What does this change do?

Make use of select-kit's `triggerSearch` function to fetch the records
which will properly rerender the dropdown options.
2023-12-29 14:15:56 +08:00
..
category-drop FEATURE: remove category badge style options, set bullet style as default (#24198) 2023-11-13 10:46:15 -05:00
color-palettes DEV: Sort imports 2023-10-10 21:46:54 +01:00
combo-box DEV: Sort imports 2023-10-10 21:46:54 +01:00
dropdown-select-box DEV: Sort imports 2023-10-10 21:46:54 +01:00
future-date-input-selector DEV: Co-locate select-kit component templates (#20779) 2023-05-02 14:10:53 +01:00
mini-tag-chooser DEV: Sort imports 2023-10-10 21:46:54 +01:00
multi-select DEV: Sort imports 2023-10-10 21:46:54 +01:00
notifications-button DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
notifications-filter UX: adjust various button classes (#24121) 2023-10-27 10:26:59 -04:00
period-chooser DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
select-kit DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
tag-drop DEV: Co-locate select-kit component templates (#20779) 2023-05-02 14:10:53 +01:00
toolbar-popup-menu-options DEV: Co-locate select-kit component templates (#20779) 2023-05-02 14:10:53 +01:00
user-chooser DEV: Co-locate select-kit component templates (#20779) 2023-05-02 14:10:53 +01:00
categories-admin-dropdown.js UX: create category doesn't always need a dropdown (#24610) 2023-11-28 16:28:07 -05:00
category-chooser.js DEV: Use category objects as values for category select kits (#24793) 2023-12-08 18:09:48 +02:00
category-drop.js FIX: category-selector for top level categories (#24627) 2023-11-29 13:29:18 +02:00
category-notifications-button.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
category-row.hbs DEV: Co-locate select-kit component templates (#20779) 2023-05-02 14:10:53 +01:00
category-row.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
category-selector.js DEV: Use category objects as values for category select kits (#24793) 2023-12-08 18:09:48 +02:00
color-palettes.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
combo-box.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
composer-actions.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
create-color-row.hbs DEV: Co-locate select-kit component templates (#20779) 2023-05-02 14:10:53 +01:00
create-color-row.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
dropdown-select-box.js DEV: update a couple button classes (#23127) 2023-09-25 16:45:57 -04:00
email-group-user-chooser-filter.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
email-group-user-chooser-row.hbs DEV: Co-locate select-kit component templates (#20779) 2023-05-02 14:10:53 +01:00
email-group-user-chooser-row.js DEV: Co-locate select-kit component templates (#20779) 2023-05-02 14:10:53 +01:00
email-group-user-chooser.js DEV: Use object spread instead of `Object.assign({}, …)` (#23167) 2023-08-21 14:28:16 +02:00
flair-chooser.js
flair-row.hbs DEV: Co-locate select-kit component templates (#20779) 2023-05-02 14:10:53 +01:00
flair-row.js DEV: Co-locate select-kit component templates (#20779) 2023-05-02 14:10:53 +01:00
form-template-chooser.js FIX: Adding form template to category dropdown can some times be empty (#25066) 2023-12-29 14:15:56 +08:00
future-date-input-selector.js DEV: Don't use `attrs` (#24323) 2023-11-27 12:16:31 +01:00
group-chooser.js
group-dropdown.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
group-notifications-button.js
icon-picker.js DEV: Don't use `attrs` (#24323) 2023-11-27 12:16:31 +01:00
list-setting.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
mini-tag-chooser.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
multi-select.hbs UX: Compact option for multi-selects (#22239) 2023-07-25 11:00:02 -04:00
multi-select.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
none-category-row.hbs DEV: Co-locate select-kit component templates (#20779) 2023-05-02 14:10:53 +01:00
none-category-row.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
notifications-button.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
notifications-filter.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
period-chooser.js DEV: Don't use `attrs` (#24323) 2023-11-27 12:16:31 +01:00
pinned-button.hbs DEV: Co-locate select-kit component templates (#20779) 2023-05-02 14:10:53 +01:00
pinned-button.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
pinned-options.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
search-advanced-category-chooser.js
select-kit.js DEV: Don't use `attrs` (#24323) 2023-11-27 12:16:31 +01:00
selected-choice-category.hbs DEV: Co-locate select-kit component templates (#20779) 2023-05-02 14:10:53 +01:00
selected-choice-category.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
selected-choice-color.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
selected-choice.hbs DEV: Update DButton uses (#23333) 2023-08-31 11:49:35 +02:00
selected-choice.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
selected-color.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
selected-flair.hbs DEV: Co-locate select-kit component templates (#20779) 2023-05-02 14:10:53 +01:00
selected-flair.js DEV: Co-locate select-kit component templates (#20779) 2023-05-02 14:10:53 +01:00
selected-name.hbs DEV: Update DButton uses (#23333) 2023-08-31 11:49:35 +02:00
selected-name.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
single-select.hbs UX: loading slider for select-kit filter (#21401) 2023-05-08 14:56:46 -04:00
single-select.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
tag-chooser-row.hbs DEV: Co-locate select-kit component templates (#20779) 2023-05-02 14:10:53 +01:00
tag-chooser-row.js DEV: Co-locate select-kit component templates (#20779) 2023-05-02 14:10:53 +01:00
tag-chooser.js FIX: update tag-chooser & category-selector action (#24318) 2023-11-10 00:05:02 +01:00
tag-drop.js FEATURE: remove category badge style options, set bullet style as default (#24198) 2023-11-13 10:46:15 -05:00
tag-group-chooser.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
tag-notifications-button.js
tag-row.hbs DEV: Co-locate select-kit component templates (#20779) 2023-05-02 14:10:53 +01:00
tag-row.js DEV: Co-locate select-kit component templates (#20779) 2023-05-02 14:10:53 +01:00
tags-intersection-chooser.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
timezone-input.js
toolbar-popup-menu-options.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
topic-chooser.js
topic-footer-mobile-dropdown.js
topic-notifications-button.hbs DEV: Co-locate select-kit component templates (#20779) 2023-05-02 14:10:53 +01:00
topic-notifications-button.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
topic-notifications-options.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
topic-row.hbs DEV: Co-locate select-kit component templates (#20779) 2023-05-02 14:10:53 +01:00
topic-row.js DEV: Co-locate select-kit component templates (#20779) 2023-05-02 14:10:53 +01:00
user-chooser.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
user-notifications-dropdown.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00