open-vault/ui/app/components/form-field-groups.js
Matthew Irish d509588cd2
Ember update (#5386)
Ember update - update ember-cli, ember-data, and ember to 3.4 series
2018-09-25 11:28:26 -05:00

31 lines
654 B
JavaScript

import Component from '@ember/component';
import { computed } from '@ember/object';
export default Component.extend({
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: () => {},
});