remix-forms
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -83,3 +83,6 @@ "use strict"; | ||
if (errors && ((_a = errors[key]) === null || _a === void 0 ? void 0 : _a.length)) { | ||
form.setFocus(key); | ||
try { | ||
form.setFocus(key); | ||
} | ||
catch { } | ||
} | ||
@@ -86,0 +89,0 @@ } |
{ | ||
"name": "remix-forms", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Magically create forms + actions in Remix!", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
28016
461