- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2017
02:41 AM
01-11-2017
02:41 AM
Checkbox - Prints label twice
Hi There,
I am trying to add a checkbox to the checkout shipping form using plugins and it is printing the label twice, code below:
$jsLayout['components']['checkout']['children']['steps']['children']['shipping-step']['children']['shippingAddress']['children']['shipping-address-fieldset']['children']['delivery_address_different'] = [ 'component' => 'Magento_Ui/js/form/element/abstract', 'config' => [ 'customScope' => 'shippingAddress', 'template' => 'ui/form/field', 'elementTmpl' => 'ui/form/element/checkbox', 'options' => [], 'id' => 'delivery-address-different' ], 'dataScope' => 'shippingAddress.delievery_address_different_check', 'label' => 'test', 'provider' => 'checkoutProvider', 'visible' => true, 'validation' => [], 'sortOrder' => 130, 'id' => 'delivery-address-different' ];
Labels:
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2017
10:33 AM
01-13-2017
10:33 AM
Re: Checkbox - Prints label twice
Hi @abhimarkan,
Since this has been posted several days ago, I would like to know if you were able to find the solution.
Please let us know.
Best regards.
Gabriel
Welcome to the Magento Forums. Remember to introduce yourself and read the Magento Forums Guidelines.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2017
03:11 AM
01-17-2017
03:11 AM