Home Reference Source

src/components/url/Url.form.js

import textEditForm from '../textfield/TextField.form';

import UrlEditDisplay from './editForm/Url.edit.display';
import UrlEditData from './editForm/Url.edit.data';
import UrlEditValidation from './editForm/Url.edit.validation';

export default function(...extend) {
  return textEditForm([
    {
      key: 'display',
      components: UrlEditDisplay
    },
    {
      key: 'data',
      components: UrlEditData
    },
    {
      key: 'validation',
      components: UrlEditValidation
    },
    {
      key: 'addons',
      ignore: true
    },
  ], ...extend);
}