@shoper/phoenix_design_system 1.18.7-0 → 1.18.7-1
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.
|
@@ -293,7 +293,7 @@ exports.HSelect = class HSelect extends phoenix_light_lit_element.PhoenixLightLi
|
|
|
293
293
|
}
|
|
294
294
|
get _canAddPlaceholder() {
|
|
295
295
|
var _a;
|
|
296
|
-
if (this.multiple)
|
|
296
|
+
if (this.multiple || this.noDeselect || this.required)
|
|
297
297
|
return false;
|
|
298
298
|
const hasSelection = (((_a = this._selectController.selectedOptions$.getValue()) === null || _a === void 0 ? void 0 : _a.length) || 0) > 0;
|
|
299
299
|
if (hasSelection)
|
|
@@ -289,7 +289,7 @@ let HSelect = class HSelect extends PhoenixLightLitElement {
|
|
|
289
289
|
}
|
|
290
290
|
get _canAddPlaceholder() {
|
|
291
291
|
var _a;
|
|
292
|
-
if (this.multiple)
|
|
292
|
+
if (this.multiple || this.noDeselect || this.required)
|
|
293
293
|
return false;
|
|
294
294
|
const hasSelection = (((_a = this._selectController.selectedOptions$.getValue()) === null || _a === void 0 ? void 0 : _a.length) || 0) > 0;
|
|
295
295
|
if (hasSelection)
|