Skip to content

Commit fbcca2a

Browse files
committed
fix indentation
1 parent f44566e commit fbcca2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apis/frontend/web-components/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ Usage with select elements
480480

481481
Disabled options that are not available due to selections in other groups are marked with the `disabled` attribute and unavailable options that are Out of stock are marked with the `unavailable` attribute. Both should be styled distinctively.
482482

483-
## Pre-selected options
483+
#### Pre-selected options
484484

485485
In addition to handling APIs, supports pre-selection of SKU options. For example in the template below, option `SKU 2` is rendered with `selected` attribute. With this template, when clicking "Add to cart" button, `SKU 2` gets added to the cart.
486486

@@ -514,7 +514,7 @@ with `nosto-sku-options` component
514514
Note:\
515515
The component does not handle styling for selected options and it has to be applied from the template.
516516

517-
## Default disabled
517+
#### Default disabled
518518

519519
This is useful when some SKU options are to be hidden or greyed out. The `disabled` attribute represents an unsupported option and is added to all unsupported SKU options on SKU selections. This is useful when SKU options that are Out-Of-Stock needs to be hidden or greyed out. By default, the `disabled` attribute is added to all unsupported SKU options. For example, when there is no `M` size in `Blue` color, on selection of `Blue` color, the component adds `disabled` attribute to option `M`.
520520

0 commit comments

Comments
 (0)