🚨 Announcing Vendure v2 Beta

DefaultFormConfigHash

DefaultFormConfigHash

Used to define the expected arguments for a given default form input component.

Signature

type DefaultFormConfigHash = {
  'boolean-form-input': {};
  'currency-form-input': {};
  'customer-group-form-input': {};
  'date-form-input': { min?: string; max?: string; yearRange?: number };
  'facet-value-form-input': {};
  'json-editor-form-input': { height?: string };
  'html-editor-form-input': { height?: string };
  'number-form-input': { min?: number; max?: number; step?: number; prefix?: string; suffix?: string };
  'password-form-input': {};
  'product-selector-form-input': {};
  'relation-form-input': {};
  'rich-text-form-input': {};
  'select-form-input': {
        options?: Array<{ value: string; label?: Array<Omit<LocalizedString, '__typename'>> }>;
    };
  'text-form-input': { prefix?: string; suffix?: string };
  'textarea-form-input': {
        spellcheck?: boolean;
    };
  'asset-form-input': {};
  'product-multi-form-input': {
        selectionMode?: 'product' | 'variant';
    };
  'combination-mode-form-input': {};
}

Members

‘boolean-form-input’

property
type:
{}

‘currency-form-input’

property
type:
{}

‘customer-group-form-input’

property
type:
{}

‘date-form-input’

property
type:
{ min?: string; max?: string; yearRange?: number }

‘facet-value-form-input’

property
type:
{}

‘json-editor-form-input’

property
type:
{ height?: string }

‘html-editor-form-input’

property
type:
{ height?: string }

‘number-form-input’

property
type:
{ min?: number; max?: number; step?: number; prefix?: string; suffix?: string }

‘password-form-input’

property
type:
{}

‘product-selector-form-input’

property
type:
{}

‘relation-form-input’

property
type:
{}

‘rich-text-form-input’

property
type:
{}

‘select-form-input’

property
type:
{ options?: Array<{ value: string; label?: Array<Omit<LocalizedString, '__typename'>> }>; }

‘text-form-input’

property
type:
{ prefix?: string; suffix?: string }

‘textarea-form-input’

property
type:
{ spellcheck?: boolean; }

‘asset-form-input’

property
type:
{}

‘product-multi-form-input’

property
type:
{ selectionMode?: 'product' | 'variant'; }

‘combination-mode-form-input’

property
type:
{}