Skip to content

Commit

Permalink
fix(storefront): BCTHEME-400 If product options are not required, the…
Browse files Browse the repository at this point in the history
… 'None' option will remain selected even if another option is chosen
  • Loading branch information
BC-tymurbiedukhin committed Feb 8, 2021
1 parent 462a286 commit e60e5d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/components/products/options/set-radio.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
<input
class="form-radio"
type="radio"
id="attribute_radio_{{../id}}_none"
name="attribute[{{../id}}]"
id="attribute_radio_{{id}}_none"
name="attribute[{{id}}]"
value=""
checked="{{#if defaultValue '==' ''}}checked{{/if}}"
>
<label class="form-label" for="attribute_radio_{{../id}}_none">{{lang 'products.none'}}</label>
<label class="form-label" for="attribute_radio_{{id}}_none">{{lang 'products.none'}}</label>
{{/unless}}

{{#each this.values}}
Expand Down

0 comments on commit e60e5d4

Please sign in to comment.