@linzjs/step-ag-grid 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -89230,6 +89230,9 @@ var GridFormTextArea = function (props) {
89230
89230
  if (formProps.maxlength && value.length > formProps.maxlength) {
89231
89231
  return "Text must be no longer than ".concat(formProps.maxlength, " characters");
89232
89232
  }
89233
+ if (formProps.validate) {
89234
+ return formProps.validate(value);
89235
+ }
89233
89236
  return null;
89234
89237
  }, [formProps.maxlength, formProps.required, value.length]);
89235
89238
  var save = react.exports.useCallback(function (selectedRows) { return __awaiter(void 0, void 0, void 0, function () {
@@ -89270,6 +89273,9 @@ var GridFormTextInput = function (props) {
89270
89273
  if (formProps.maxlength && value.length > formProps.maxlength) {
89271
89274
  return "Text must be no longer than ".concat(formProps.maxlength, " characters");
89272
89275
  }
89276
+ if (formProps.validate) {
89277
+ return formProps.validate(value);
89278
+ }
89273
89279
  return null;
89274
89280
  }, [formProps.maxlength, formProps.required, value.length]);
89275
89281
  var save = react.exports.useCallback(function (selectedRows) { return __awaiter(void 0, void 0, void 0, function () {