mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 22:33:55 +08:00
684492f2c5
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
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);
|
|
}
|
|
}
|