@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.js +5 -1
- package/demo/index.min.js +4 -0
- package/demo/index.min.js.map +1 -1
- package/dist/elements/InternationaPhoneNumber/InternationaPhoneNumberElement.js +4 -0
- package/dist/elements/InternationaPhoneNumber/InternationaPhoneNumberElement.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/InternationaPhoneNumber/InternationaPhoneNumberElement.ts +4 -0
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;
|