3h1-ui 3.0.0-next.264 → 3.0.0-next.265

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/es/index.js CHANGED
@@ -11798,13 +11798,13 @@ const FormItem$2 = /* @__PURE__ */ defineComponent({
11798
11798
  };
11799
11799
  }
11800
11800
  if (schema2.component === "Input" || schema2.component === "InputTextArea") {
11801
- const maxlength = (componentProps == null ? void 0 : componentProps.maxlength) || ((_e = config == null ? void 0 : config.Input) == null ? void 0 : _e.maxlength) || 100;
11801
+ const maxlength = (componentProps == null ? void 0 : componentProps.maxlength) || ((_e = config == null ? void 0 : config[schema2.component]) == null ? void 0 : _e.maxlength) || 100;
11802
11802
  componentProps = Object.assign({}, componentProps, {
11803
11803
  maxlength
11804
11804
  });
11805
11805
  componentProps.onInputEvent = (e2) => {
11806
11806
  var _a3;
11807
- componentProps.maxlength = (componentProps == null ? void 0 : componentProps.maxlength) || ((_a3 = config == null ? void 0 : config.Input) == null ? void 0 : _a3.maxlength) || 100;
11807
+ componentProps.maxlength = (componentProps == null ? void 0 : componentProps.maxlength) || ((_a3 = config == null ? void 0 : config[schema2.component]) == null ? void 0 : _a3.maxlength) || 100;
11808
11808
  if (!get$1(getValues.value.model, getValues.value.schema.field)) {
11809
11809
  componentProps.showCount = true;
11810
11810
  } else {
package/lib/index.js CHANGED
@@ -11822,13 +11822,13 @@ const FormItem$2 = /* @__PURE__ */ vue.defineComponent({
11822
11822
  };
11823
11823
  }
11824
11824
  if (schema2.component === "Input" || schema2.component === "InputTextArea") {
11825
- const maxlength = (componentProps == null ? void 0 : componentProps.maxlength) || ((_e = config == null ? void 0 : config.Input) == null ? void 0 : _e.maxlength) || 100;
11825
+ const maxlength = (componentProps == null ? void 0 : componentProps.maxlength) || ((_e = config == null ? void 0 : config[schema2.component]) == null ? void 0 : _e.maxlength) || 100;
11826
11826
  componentProps = Object.assign({}, componentProps, {
11827
11827
  maxlength
11828
11828
  });
11829
11829
  componentProps.onInputEvent = (e2) => {
11830
11830
  var _a3;
11831
- componentProps.maxlength = (componentProps == null ? void 0 : componentProps.maxlength) || ((_a3 = config == null ? void 0 : config.Input) == null ? void 0 : _a3.maxlength) || 100;
11831
+ componentProps.maxlength = (componentProps == null ? void 0 : componentProps.maxlength) || ((_a3 = config == null ? void 0 : config[schema2.component]) == null ? void 0 : _a3.maxlength) || 100;
11832
11832
  if (!get$1(getValues.value.model, getValues.value.schema.field)) {
11833
11833
  componentProps.showCount = true;
11834
11834
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "3h1-ui",
3
- "version": "3.0.0-next.264",
3
+ "version": "3.0.0-next.265",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",