discourse/app/assets/javascripts/admin/addon/controllers/admin-plugins-show-settings.js
Martin Brennan 684492f2c5
FIX: Admin setting search debounce losing characters (#27238)
When typing slowly in the admin setting filter input,
we were losing characters after the debounce. This commit
changes to use native <input /> instead of the ember
<Input /> component similar to the change in
bfd6a7b86c

c.f. https://meta.discourse.org/t/settings-filter-loses-some-of-the-letters-you-entered/305201
2024-05-29 15:49:44 +10:00

12 lines
267 B
JavaScript

import Controller from "@ember/controller";
import { action } from "@ember/object";
export default class AdminPluginsShowSettingsController extends Controller {
filter = "";
@action
filterChanged(filterData) {
this.set("filter", filterData.filter);
}
}