Min height converter throw error when new style is added to mobile breakpoint #877
Open
Description
Hello!
I want to have the possibility to define specific margin and padding in desktop and mobile like min-height but it's throw an error in the back-office.
Step to reproduce
- Add mobile breakpoint to existing margins_and_padding field (Vendor/PageBuilder/view/adminhtml/ui_component/pagebuilder_base_form.xml):
<?xml version="1.0" encoding="UTF-8"?>
<form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
<fieldset name="advanced">
<field name="margins_and_padding" formElement="input">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="default" xsi:type="null" />
<item name="breakpoints" xsi:type="array">
<item name="mobile" xsi:type="boolean">true</item>
</item>
</item>
</argument>
</field>
</fieldset>
</form>
- Add padding or margin in mobile view in Banner block form. Save. Error is throwed in the console.
I fixed it in my fork develop...syno-jde:magento2-page-builder:develop