I'm currently working with Iron and Wool, but this affects other themes as well.
In the template for Customer Fields, the id attribute for the input fields has been changed so that the field name attribute is no longer the same as the id attribute.
While mostly just annoying, there are some cases where it fails. For example:
For me this means I have to make my scripting more complicated because some id start with l- and some do not.
Just for my information, what is reason for the field id and the field name to no longer match?
In the template for Customer Fields, the id attribute for the input fields has been changed so that the field name attribute is no longer the same as the id attribute.
While mostly just annoying, there are some cases where it fails. For example:
Code:
<label class="required" for="l-Customer_ShipStateSelect">State/Province:</label> <mvt:item name="states" param="Customer_ShipStateSelect" /> <!-- output id attribute does not match --> <label class="required" for="l-Customer_ShipCountry">Country:</label> <mvt:item name="countries" param="Customer_ShipCountry" /> <!-- output id attribute does not match -->
Just for my information, what is reason for the field id and the field name to no longer match?
Comment