File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
app/code/Magento/Catalog/view/adminhtml/templates/catalog/product/attribute Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ $stores = $block->getStoresSortedBySortOrder();
78
78
<input data-role="order" type="hidden" name="option[order][<%- data.id %>]" value="<%- data.sort_order %>" <?php if ($ block ->getReadOnly () || $ block ->canManageOptionDefaultOnly ()):?> disabled="disabled"<?php endif ; ?> />
79
79
</td>
80
80
<td class="col-default control-table-actions-cell">
81
- <input class="input-radio" type="<%- data.intype %>" name="default[<%- data.id %>]" value="<%- data.id %>" <%- data.checked %><?php if ($ block ->getReadOnly ()):?> disabled="disabled"<?php endif ;?> />
81
+ <input class="input-radio" type="<%- data.intype %>" name="default[<% if (data.intype === 'checkbox') { %><% - data.id %><% } %>]" value="<%- data.id %>" <%- data.checked %><?php if ($ block ->getReadOnly ()):?> disabled="disabled"<?php endif ;?> />
82
82
</td>
83
83
<?php foreach ($ stores as $ _store ):?>
84
84
<td class="col-<%- data.id %>"><input name="option[value][<%- data.id %>][<?= (int ) $ _store ->getId () ?> ]" value="<%- data.store<?= /* @noEscape */ (int ) $ _store ->getId () ?> %>" class="input-text<?php if ($ _store ->getId () == \Magento \Store \Model \Store::DEFAULT_STORE_ID ):?> required-option required-unique<?php endif ; ?> " type="text" <?php if ($ block ->getReadOnly () || $ block ->canManageOptionDefaultOnly ()):?> disabled="disabled"<?php endif ;?> /></td>
You can’t perform that action at this time.
0 commit comments