2018-09-25 16:28:26 +00:00
|
|
|
import Component from '@ember/component';
|
|
|
|
import { computed } from '@ember/object';
|
2018-04-03 14:16:57 +00:00
|
|
|
|
2018-09-25 16:28:26 +00:00
|
|
|
export default Component.extend({
|
2018-04-03 14:16:57 +00:00
|
|
|
tagName: '',
|
|
|
|
|
|
|
|
/*
|
|
|
|
* @public String
|
|
|
|
* A whitelist of groups to include in the render
|
|
|
|
*/
|
|
|
|
renderGroup: computed(function() {
|
|
|
|
return null;
|
|
|
|
}),
|
|
|
|
|
|
|
|
/*
|
|
|
|
* @public DS.Model
|
|
|
|
* model to be passed down to form-field component
|
|
|
|
* if `fieldGroups` is present on the model then it will be iterated over and
|
|
|
|
* groups of `form-field` components will be rendered
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
model: null,
|
|
|
|
|
|
|
|
/*
|
|
|
|
* @public Function
|
|
|
|
* onChange handler that will get set on the form-field component
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
onChange: () => {},
|
|
|
|
});
|