diff --git a/examples/for-tests/src/App.js b/examples/for-tests/src/App.js index 6fb78d984..379b46ff1 100644 --- a/examples/for-tests/src/App.js +++ b/examples/for-tests/src/App.js @@ -165,7 +165,6 @@ const formFields = [ label: "Your Country", placeholder: "Where do you live?", optional: true, - getDefaultValue: "India", }, ]; @@ -201,12 +200,12 @@ const incorrectFormFields = [ label: "Your Country", placeholder: "Where do you live?", optional: true, - getDefaultValue: () => 23, + getDefaultValue: () => 23, // return should be a string }, { id: "ratings", label: "Ratings", - getDefaultValue: "best", + getDefaultValue: "best", // should be function inputComponent: ({ value, name, onChange }) => (