You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/documentation/docs/controls/DynamicForm.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,6 +62,7 @@ The `DynamicForm` can be configured with the following properties:
62
62
| fieldOverrides | {[columnInternalName: string] : {(fieldProperties: IDynamicFieldProps): React.ReactElement\<IDynamicFieldProps\>}} | no | Key value pair for fields you want to override. Key is the internal field name, value is the function to be called for the custom element to render. |
63
63
| respectEtag | boolean | no | Specifies if the form should respect the ETag of the item. Default - `true`|
| customIcons | { [ columnInternalName: string ]: string } | no | Specifies custom icons for the form. The key of this dictionary is the column internal name, the value is the Fluent UI icon name. |
// Read the ID of the just created folder or Document Set
669
669
constfolderId=fields[idField];
670
-
670
+
671
671
// Set the content type ID for the target item
672
672
objects[contentTypeIdField]=contentTypeId;
673
673
// Update the just created folder or Document Set
@@ -784,7 +784,7 @@ export class DynamicForm extends React.Component<
784
784
fieldCollection: fieldCol,
785
785
validationErrors
786
786
},()=>{
787
-
if(validate)this.performValidation();
787
+
if(validate)this.performValidation();
788
788
});
789
789
};
790
790
@@ -821,7 +821,7 @@ export class DynamicForm extends React.Component<
821
821
* @param formulas A Record / dictionary-like object, where key is internal column name and value is an object with ValidationFormula and ValidationMessage properties
822
822
* @param returnMessages Determines whether a Record of error messages is returned or an array of column names that have failed validation
823
823
* @param requireValue Set to true if the formula should only be evaluated when the field has a value
0 commit comments