import { h } from '@stencil/core';
import { registerField } from '../../FieldGenerator';
const render = (field, value, errors, disabled, onFieldChange, onFieldBlur) => h("dvn-field-input-sub-form", { disabled: disabled, errors: errors, field: field, onChange: (e) => {
    e.stopImmediatePropagation();
    onFieldChange(field, e.detail);
  }, onBlur: () => onFieldBlur(field), value: value });
// register 'subForm' key for json form generations
registerField('subForm', render);
export { SubFormField } from './sub-form';
