react-native-form-container
Advanced tools
+1
-1
| { | ||
| "name": "react-native-form-container", | ||
| "version": "1.0.38", | ||
| "version": "1.0.39", | ||
| "description": "A form container component for React Native", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -41,3 +41,3 @@ import React, { | ||
| const inputCheckValidation = useCallback((): boolean => { | ||
| let isEmpty = false; | ||
| let isEmpty = true; | ||
| React.Children.forEach(initialChildren, (child) => { | ||
@@ -51,3 +51,3 @@ if (React.isValidElement(child)) { | ||
| ) { | ||
| isEmpty = true; | ||
| isEmpty = false; | ||
| } | ||
@@ -54,0 +54,0 @@ } |