@stemy/ngx-dynamic-form 10.2.31 → 10.2.32

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.
@@ -881,7 +881,7 @@
881
881
  };
882
882
  DynamicFormService.prototype.getFormInputConfig = function (property, schema) {
883
883
  var _a;
884
- var inputType = ngxUtils.StringUtils.has(property.id, "password", "Password") ? "password" : (((_a = property.items) === null || _a === void 0 ? void 0 : _a.type) || property.type);
884
+ var inputType = ngxUtils.StringUtils.has(property.id, "password", "Password") ? "password" : (property.format || ((_a = property.items) === null || _a === void 0 ? void 0 : _a.type) || property.type);
885
885
  switch (inputType) {
886
886
  case "boolean":
887
887
  inputType = "checkbox";
@@ -906,6 +906,7 @@
906
906
  max: isNaN(sub.maximum) ? Number.MAX_SAFE_INTEGER : sub.maximum,
907
907
  minLength: isNaN(sub.minLength) ? Number.MIN_SAFE_INTEGER : sub.minLength,
908
908
  maxLength: isNaN(sub.maxLength) ? Number.MAX_SAFE_INTEGER : sub.maxLength,
909
+ placeholder: property.placeholder || ""
909
910
  });
910
911
  };
911
912
  DynamicFormService.prototype.getFormTextareaConfig = function (property, schema) {