@shoper/phoenix_design_system 1.18.2-12 → 1.18.2-13
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.
|
@@ -291,8 +291,8 @@ exports.HSelect = class HSelect extends phoenix_light_lit_element.PhoenixLightLi
|
|
|
291
291
|
return;
|
|
292
292
|
// Create placeholder option with proper structure
|
|
293
293
|
const $placeholderOption = document.createElement('h-option');
|
|
294
|
-
$placeholderOption.value
|
|
295
|
-
$placeholderOption.selected
|
|
294
|
+
$placeholderOption.setAttribute('value', '');
|
|
295
|
+
$placeholderOption.setAttribute('selected', 'true');
|
|
296
296
|
$placeholderOption.setAttribute('data-placeholder', 'true');
|
|
297
297
|
$placeholderOption.setAttribute('slot', select_constants.SELECT_SLOT_NAMES.content);
|
|
298
298
|
// Make placeholder disabled so it can't be re-selected (accessible pattern)
|
|
@@ -287,8 +287,8 @@ let HSelect = class HSelect extends PhoenixLightLitElement {
|
|
|
287
287
|
return;
|
|
288
288
|
// Create placeholder option with proper structure
|
|
289
289
|
const $placeholderOption = document.createElement('h-option');
|
|
290
|
-
$placeholderOption.value
|
|
291
|
-
$placeholderOption.selected
|
|
290
|
+
$placeholderOption.setAttribute('value', '');
|
|
291
|
+
$placeholderOption.setAttribute('selected', 'true');
|
|
292
292
|
$placeholderOption.setAttribute('data-placeholder', 'true');
|
|
293
293
|
$placeholderOption.setAttribute('slot', SELECT_SLOT_NAMES.content);
|
|
294
294
|
// Make placeholder disabled so it can't be re-selected (accessible pattern)
|