Fix productsPerRow select reset to 1
When settings page are loaded, select doesn't reflect value of config.productsPerRow and resets to 1. Following settings update saves that value.react_convert
parent
6297639688
commit
bcabb11bc1
|
@ -66,6 +66,7 @@
|
|||
<div class="form-group">
|
||||
<label>Products per row</label>
|
||||
<select class="form-control" name="productsPerRow">
|
||||
<option value="{{config.productsPerRow}}" hidden="hidden" selected="selected">{{config.productsPerRow}}</option>
|
||||
<option {{selectState '1' config.productsPerRow}}>1</option>
|
||||
<option {{selectState '2' config.productsPerRow}}>2</option>
|
||||
<option {{selectState '3' config.productsPerRow}}>3</option>
|
||||
|
@ -141,4 +142,4 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue