@luftborn/custom-elements 2.6.4 → 2.7.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/demo/index.min.js CHANGED
@@ -3836,6 +3836,10 @@ var IntPhoneFieldElement = /** @class */ (function (_super) {
3836
3836
  if (this.required) {
3837
3837
  this.phone.setAttribute('required', '');
3838
3838
  }
3839
+ if (this.placeholder) {
3840
+ this.phone.setAttribute('placeholder', this.placeholder);
3841
+ this.intlTelInput.options.autoPlaceholder = 'off';
3842
+ }
3839
3843
  };
3840
3844
  IntPhoneFieldElement.prototype.setIntlTelInput = function () {
3841
3845
  var _this = this;