Skip to content

Instantly share code, notes, and snippets.

View geekygrappler's full-sized avatar

Andy Brown geekygrappler

View GitHub Profile
@geekygrappler
geekygrappler / components.my-component.js
Created November 2, 2021 15:21 — forked from feanor07/components.my-component.js
stackoverflow question#43090234
import Ember from 'ember';
export default Ember.Component.extend({
isBlankSelected: Ember.computed.empty('selectedOption'),
actions: {
loadFilter(selectedOption) {
this.set('selectedOption', selectedOption);
}
}