ywana-core8 0.0.597 → 0.0.598

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.cjs CHANGED
@@ -5574,6 +5574,7 @@ var CollectionPage = function CollectionPage(props) {
5574
5574
  _props$canEdit = props.canEdit,
5575
5575
  canEdit = _props$canEdit === void 0 ? false : _props$canEdit,
5576
5576
  searchBy = props.searchBy,
5577
+ addValidator = props.addValidator,
5577
5578
  _props$autosave = props.autosave,
5578
5579
  autosave = _props$autosave === void 0 ? false : _props$autosave,
5579
5580
  _props$delay = props.delay,
@@ -5622,7 +5623,8 @@ var CollectionPage = function CollectionPage(props) {
5622
5623
  site.openDialog( /*#__PURE__*/React__default["default"].createElement(CreateContentDialog, {
5623
5624
  label: "" + name,
5624
5625
  type: schema,
5625
- onOK: onOK
5626
+ onOK: onOK,
5627
+ validator: addValidator
5626
5628
  }));
5627
5629
  }
5628
5630