test: passing array fields test suite (#5383)
* test: array tests passing except bulk update * test: passing array fields test suite
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
'use client'
|
||||
|
||||
import type { ErrorProps } from 'payload/types'
|
||||
|
||||
import React from 'react'
|
||||
|
||||
@@ -25,7 +25,7 @@ const setSubmitted: SetSubmitted = () => undefined
|
||||
const reset: Reset = () => undefined
|
||||
|
||||
export const initContextState: Context = {
|
||||
addFieldRow: async () => undefined,
|
||||
addFieldRow: () => undefined,
|
||||
buildRowErrors: () => undefined,
|
||||
createFormData,
|
||||
disabled: false,
|
||||
@@ -38,7 +38,7 @@ export const initContextState: Context = {
|
||||
getFields: (): FormState => ({}),
|
||||
getSiblingData,
|
||||
removeFieldRow: () => undefined,
|
||||
replaceFieldRow: async () => undefined,
|
||||
replaceFieldRow: () => undefined,
|
||||
replaceState: () => undefined,
|
||||
reset,
|
||||
setModified,
|
||||
|
||||
Reference in New Issue
Block a user