New answers tagged

0

I managed to handle that problem with around plugin: <type name="Magento\Ui\Component\Filters\Type\Select"> <plugin name="my_module_order_grid_apply_filter_to_my_column" type="My\Module\Plugin\ApplyFilterPlugin" sortOrder="1" /> </type> And here's a code snippet of that plugin: /** ...


0

I could not find a solution for this. I tried with different component name but it did not work. Could you help me?


0

It entirely depends on what data you need. Your options are: Use RequireJS for dependencies, for example Magento_Customer/js/model/customer for customer data or Magento_Checkout/js/model/quote for quote data. If it's custom data you can use an Ajax request to retrieve it from a controller Some core data is already available on the window object, you can use ...


0

this work for me! // Vendor/Module/view/adminhtml/ui_component/customer_form.xml ... <insertListing name="..._listing"> <settings> <externalProvider>..._listing...._listing_data_source</externalProvider> <selectionsProvider>..._listing...._listing...._listing_columns.ids</...


0

Check this link for reference :- How to Create Dependent Fields in Forms using Ui components- Magento2


1

Try this in your Generic.php file <?php namespace Vendor\Module\Block\Adminhtml\ControllerName\Edit; use Magento\Backend\Block\Widget\Context; use Magento\Cms\Api\PageRepositoryInterface; use Magento\Framework\Exception\NoSuchEntityException; /** * Class Generic */ class Generic { /** * @var Context */ protected $context; /** ...


0

There are two way to hide the fieldset based on condition. Step 1: Override prepare method of your fieldset like below. Your Form.xml <fieldset name="menu_items" class="Vendor\Module\Ui\Component\Form\CustomFieldset"> <settings> <collapsible>true</collapsible> <label>Menu Items</label&...


0

There are two way to hide the fieldset based on condition. Step 1: Override prepare method of your fieldset like below. Your Form.xml <fieldset name="menu_items" class="Vendor\Module\Ui\Component\Form\CustomFieldset"> <settings> <collapsible>true</collapsible> <label>Menu Items</label&...


0

You have to use the store time zone as well otherwise when you select the time its auto-convert to the UTC time zone <item name="storeTimeZone" xsi:type="string">string</item>


0

This issue is probably being caused because the admin portal is attempting to get the javascript and css files via normal http, as opposed to https. To correct this, try to set Use Secure URLs in Admin to true, in System -> Config -> General -> Web. This should solve your problem.


Top 50 recent answers are included