mirror of
https://github.com/discourse/discourse.git
synced 2025-02-10 05:14:59 +00:00
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 bfd6a7b86c094ea41617bcb3477353baf08b50a9 c.f. https://meta.discourse.org/t/settings-filter-loses-some-of-the-letters-you-entered/305201
12 lines
267 B
JavaScript
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);
|
|
}
|
|
}
|