@@ -670,7 +670,7 @@ export class DynamicFormBase extends React.Component<
670670 const folderId = fields [ idField ] ;
671671
672672 // Set the content type ID for the target item
673- ( objects as any ) [ contentTypeIdField ] = contentTypeId ;
673+ ( objects as any ) [ contentTypeIdField ] = contentTypeId ; // eslint-disable-line @typescript-eslint/no-explicit-any
674674 // Update the just created folder or Document Set
675675 const iur = await this . updateListItemRetry ( library , folderId , objects ) ;
676676 if ( onSubmitted ) {
@@ -1015,7 +1015,7 @@ export class DynamicFormBase extends React.Component<
10151015 const numberFields = additionalInfo ?. filter ( ( f ) => f . TypeAsString === "Number" || f . TypeAsString === "Currency" ) ;
10161016
10171017 // Build a dictionary of validation formulas and messages
1018- const validationFormulas : Record < string , Pick < ISPField , "ValidationFormula" | "ValidationMessage" > > = additionalInfo . reduce ( ( prev , cur ) => {
1018+ const validationFormulas : Record < string , Pick < ISPField , "ValidationFormula" | "ValidationMessage" > > = additionalInfo . reduce ( ( prev : any , cur ) => { // eslint-disable-line @typescript-eslint/no-explicit-any
10191019 if ( ! prev [ cur . InternalName ] && cur . ValidationFormula ) {
10201020 prev [ cur . InternalName ] = {
10211021 ValidationFormula : cur . ValidationFormula ,
@@ -1319,7 +1319,7 @@ export class DynamicFormBase extends React.Component<
13191319 termSetId = field . TermSetId ;
13201320 anchorId = field . AnchorId !== Guid . empty . toString ( ) ? field . AnchorId : null ;
13211321 if ( item && item [ field . InternalName ] ) {
1322- const _selectedTags = await this . getTermsForModernTaxonomyPicker ( field . TermSetId , item [ field . InternalName ] ) ;
1322+ const _selectedTags = await this . getTermsForModernTaxonomyPicker ( field . TermSetId , item [ field . InternalName ] ) ;
13231323 // item[field.InternalName].forEach((element) => {
13241324 // selectedTags.push({
13251325 // key: element.TermGuid,
@@ -1339,7 +1339,7 @@ export class DynamicFormBase extends React.Component<
13391339 } ) ;
13401340 } ) ;
13411341
1342- const _selectedTags = await this . getTermsForModernTaxonomyPicker ( field . TermSetId , selectedTags . map ( ( dv : { key : string ; name : string } ) => ( {
1342+ const _selectedTags = await this . getTermsForModernTaxonomyPicker ( field . TermSetId , selectedTags . map ( ( dv : { key : string ; name : string } ) => ( {
13431343 Label : dv . name ,
13441344 TermGuid : dv . key
13451345 } ) ) ) ;
@@ -1705,7 +1705,7 @@ export class DynamicFormBase extends React.Component<
17051705 * @param objects The object containing the field values
17061706 * @returns the folder name
17071707 */
1708- private getFolderName = ( objects : { } ) : string => {
1708+ private getFolderName = ( objects : any ) : string => { // eslint-disable-line @typescript-eslint/no-explicit-any
17091709 const titleField = "Title" ;
17101710 const fileLeafRefField = "FileLeafRef" ;
17111711 let folderNameValue = "" ;
0 commit comments