148b18b28c
Adds a 'status' for the filtering/searching in the UI, without this its not super clear that you are filtering a recordset due to the menu selections being hidden once closed. You can also use the pills in this status view to delete individual filters.
17 lines
340 B
JavaScript
17 lines
340 B
JavaScript
import Component from '@glimmer/component';
|
|
import { tracked } from '@glimmer/tracking';
|
|
import { action } from '@ember/object';
|
|
|
|
export default class Option extends Component {
|
|
@tracked selected;
|
|
|
|
@action
|
|
connect() {
|
|
this.args.select.addOption(this);
|
|
}
|
|
@action
|
|
disconnect() {
|
|
this.args.select.removeOption(this);
|
|
}
|
|
}
|