finform-react-builder 1.6.1 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,6 +22,7 @@ export interface ApiConfig {
22
22
  }>;
23
23
  dependsOn?: string;
24
24
  conditional?: boolean;
25
+ passThroughFields?: string[];
25
26
  }
26
27
  export interface BaseField {
27
28
  id?: string;
@@ -32,6 +33,8 @@ export interface BaseField {
32
33
  placeholder?: string;
33
34
  required?: boolean;
34
35
  disabled?: boolean;
36
+ copyWhenDisabled?: boolean;
37
+ passThroughFields?: string[];
35
38
  helperText?: string;
36
39
  validation?: ValidationRule;
37
40
  step?: number;
@@ -105,6 +108,7 @@ export interface AutocompleteField extends BaseField {
105
108
  multiple?: boolean;
106
109
  freeSolo?: boolean;
107
110
  filterOptions?: boolean;
111
+ selectedAssignments?: Record<string, string>;
108
112
  api_endpoint?: string;
109
113
  api_method?: 'GET' | 'POST' | 'PUT' | 'DELETE';
110
114
  value_field?: string;
@@ -254,6 +258,7 @@ export interface FieldRendererProps {
254
258
  baseUrl?: string;
255
259
  apiHeaders?: Record<string, string>;
256
260
  formData?: Record<string, any>;
261
+ setValue?: (name: string, value: any, options?: any) => void;
257
262
  }
258
263
  export interface StepNavigationProps {
259
264
  currentStep: number;