@shopify/react-form-state
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -59,3 +59,3 @@ "use strict"; | ||
error: get_1.default(error, [index, fieldPath]), | ||
onChange: _this.handleChange(index, fieldPath), | ||
onChange: _this.handleChange({ index: index, key: fieldPath }), | ||
}; | ||
@@ -68,4 +68,5 @@ }); | ||
}; | ||
List.prototype.handleChange = function (index, key) { | ||
List.prototype.handleChange = function (_a) { | ||
var _this = this; | ||
var index = _a.index, key = _a.key; | ||
return function (newValue) { | ||
@@ -72,0 +73,0 @@ var _a; |
{ | ||
"name": "@shopify/react-form-state", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Manage react forms tersely and type-safe with no magic.", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
134546
2773