diff --git a/force-app/main/default/lwc/starRating/starRating.js b/force-app/main/default/lwc/starRating/starRating.js index 98fd936..b9b1791 100644 --- a/force-app/main/default/lwc/starRating/starRating.js +++ b/force-app/main/default/lwc/starRating/starRating.js @@ -14,7 +14,7 @@ export default class StarRating extends LightningElement { return this._formUrl; } set formUrl(value) { - this._formUrl = value; + this._formUrl = (value?.startWith('http://') || value?.startWith('https://')) ? value : `https://${value}`; this.generateStars(); }