react-loose-forms
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -132,3 +132,3 @@ var is = require('is'); | ||
} | ||
return valid || field.label + ' is required'; | ||
return valid || (field.label || field.name) + ' is required'; | ||
}; | ||
@@ -135,0 +135,0 @@ |
{ | ||
"name": "react-loose-forms", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A form library for React that flexible and dynamic allowing it to be effective in many (if not all) situations where you need to collect user input.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
8223