The Stack Overflow podcast is back! Listen to an interview with our new CEO.

New answers tagged

0

In DataProvider.php change below line with my answer: foreach ($items as $page) { $this->loadedData['categorytree_details'][$page->getId()] = $page->getData(); //$ruleId = $page->getId(); } when your ui form left side tabs you add you have return data with field set if you remove below code from your ...


0

You can use 2 custom field like this You should contact Mageplaza for help.


0

You can update your dataSource content with this content <dataSource name="vendor_module_categoryimages_listing"> <argument name="dataProvider" xsi:type="configurableObject"> <argument name="class" xsi:type="string">Magento\Catalog\Model\Category\DataProvider</argument> <argument name="name" xsi:type="string"&...


0

Try Below code:- Disable Inline Edit <column name="field_name" sortOrder="30"> <settings> <filter>text</filter> <label translate="true">field_name</label> </settings> </column> If You Want To Apply Inline Edit:- <column name="field_name" sortOrder="...


0

In You Listing File Add Simply This Code For Disable Inline Edit :- <column name="field_name" sortOrder="70"> <settings> <label translate="true">Field Lable</label> </settings> </column> If You Want To Apply Inline Edit :- <column name="field_name"> <argument name="data" xsi:type="array"&...


0

I also faced same issue. After adding sequence in module.xml <sequence> <module name="Magento_Sales" /> </sequence> I upgrade the Magento. php bin/magento setup:upgrade And issue is resolved.


3

You should change your code using example from any magento 2.3 listing, for example you can use the customer group change action in the customer grid: See source model here: vendor/magento/module-customer/Ui/Component/MassAction/Group/Options.php In vendor/magento/module-customer/etc/di.xml added some params: <type name="Magento\Customer\Ui\...


1

app/code/VendorNameSpace/Module/view/adminhtml/ui_component/category_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="general"> <argument name="data" xsi:type="...


1

I have created a similar feature to assign category via popup. My Custom Product Grid (below) where I have inserted a modal with ui-grid with opens on click on the column category. You can use insertForm instead of insertListing (mymodule_mycategory_listing) for your form. Product Grid: <?xml version="1.0" encoding="UTF-8"?> <listing xmlns:xsi="...


0

I have updated the code a bit in a clean and better manner. It may be useful to others :) define([ 'Magento_Ui/js/form/element/abstract', 'jquery' ], function (Text, $) { 'use strict'; return Text.extend({ onUpdate: function (value) { $("label[for=" + this.uid + "]").text(value); return this._super(); ...


0

I crate a Admin Grid using Ui-Component. You want all Data you have create a Custom Export Button that export your all data. edit in your Ui-Component file where Admin Grid Show [vendor_name] \ [module_name] \view\adminhtml\ui_component Add this code to add Button into Admin Grid Ui-ComponentFIleName.xml <item name="import" xsi:type="array"> ...


3

I had faced similar issue like this, I'd fixed it as you can see in below Image, Please follow steps. Add this line in sales_order_grid.xml => <bodyTmpl>ui/grid/cells/html</bodyTmpl> <?xml version="1.0" encoding="UTF-8"?> <listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:...


2

I found a solution for when edit a ui-component form dependent field are appear. use a initialize function to show a dependent field on load a form initialize: function () { this._super(); this.onUpdate(this.value()); return this; }, view/adminhtml/web/js/applyoptions.js define([ 'underscore', '...


0

In the Class Upload, Add this line before try catch $imageId = $this->_request->getParam('param_name', 'restorent_images'); And replace this line $result = $this->imageUploader->saveFileToTmpDir('restorent_images'); With $result = $this->imageUploader->saveFileToTmpDir($imageId);


Top 50 recent answers are included