All Questions

Tagged with
0
votes
3answers
28 views

Overwrite magento_theme adminhtml ui_component xml file

I am trying to overwrite following file: vendor/magento/module-theme/view/adminhtml/ui_component/design_config_form.xml The changes work when editing the file directly in vendor dir, however, I am ...
0
votes
1answer
16 views

Hide custom UI element in extended XML file in custom theme

This is original file in code dir of a third part module: <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="checkout" xsi:noNamespaceSchemaLocation="...
0
votes
0answers
28 views

Show Custom Popup when clicking massaction in ui-component grid

I am using custom uicomponent grid in which I have mass actions, now on click of that mass action, I want to show custom popup instead of showing confirm box popup. I have looked at uicomponent grid ...
0
votes
0answers
14 views

How to put hexcode validation in custom form made using ui component?

Vendor/Module/view/adminhtml/ui_component/company_company_form.xml <field name="theme_color"> <argument name="data" xsi:type="array"> <item name="...
1
vote
1answer
53 views

How to remove secondary UI component in Magento 2?

I want to remove export component from order toolbar page in Magento 2 admin. I have already created an custom export component in my module but I want to remove default one. See screenshot. Here ...
2
votes
0answers
42 views

Magento 2 ExportButton component Product grid not working

I have added ExportButton on admin product grid and when i click on export it shows error Exception #0 (Magento\Framework\Exception\LocalizedException): A joined field with this alias is already ...
1
vote
1answer
147 views

Collection not loading in Ui Component Admin Grid - stuck spinning

I have a basic CRUD repository setup, however when I try to go to the Admin Grid UI Component, the spinner just spins and nothing loads. No errors displayed in any of the logs either. When I inspect ...
0
votes
1answer
209 views

Magento2: How to use Custom Collection Data in UI Component Grid

I am creating a custom module to show my custom records on grid (using UI component),till now I have Created UI Component, but unable to link up with the Collection. Here is my UI component code: <...
1
vote
0answers
245 views

How to set default sort order for custom listing uicomponent to use multiple columns

I created a custom admin grid using a lising uicomponent. I want the initial sort order to sort by 2 columns. This does the trick in the grid's Collection class for the initial page load of the grid: ...
0
votes
0answers
133 views

How to add radio button in custom option in magento2

I want to add radio button in custom option . I refer this link Magento2 adding radio buttons in customoptions. But not working. If anything i want to chage it. Thanks.
1
vote
2answers
211 views

Magento 2 : How to set the Title of Page in Admin Grid using UI_COMPONENT

I have created a custom module using UI_COMPONENT. Everything worked properly, but unable to set the Page Title. Index layout file: <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/...
1
vote
0answers
176 views

UI component Export data issue : Magento 2

We have created a grid in UI Component. While we have export data from grid we got an error like. {"0":"Notice: Undefined index: attributes in \/var\/www\/html\/bannerbuzzmagento2\/vendor\/magento\/...
0
votes
1answer
271 views

How to sort admin grid filter elements in Magento 2?

Using Magento 2.2.5 - I have an install with many stores - ~30. In the sales order grid, the filter for 'Purchase Point' lists all the stores, but in the order they were created. Is it possible to ...
0
votes
0answers
17 views

How can I add a UI component to a renderer of a payment method?

The task is simple: I want to add a select UI Component to a renderer for a payment method. Rather than copy/pasting HTML code into my own html-template, I want to use the built-in UI components ...
0
votes
1answer
186 views

Display frontend errors in popup modal

If there's a problem on the checkout, the error is displayed near the top, for 5 seconds and then it goes away. Most customers don't even see the message. Often, on smaller devices, the message isn'...
0
votes
1answer
121 views

Dropdown in admin form

I have created some category using admin ui-component form and displayed in ui-component grid. Also i want created a drop down field(Field name: Parent category) in this form which contains already ...
2
votes
0answers
74 views

How to create a parent category dropdown in admin form in magento2.2

I want to create a drop-down field in admin UI-component form in magento2.(for getting parent category/post) How to do that How to do that Thanks
2
votes
1answer
281 views

How to populate data in custom filed in product edit form in Magento 2

I have added custom filed dropdown in product edit form using UI component. Below is the code in file app/code/Vendor/Module/view/adminhtml/ui_component/product_form.xml <?xml version="1.0" ...
1
vote
1answer
175 views

Magento 2: Creating dynamic matrix in new/edit product page

I need to create a custom matrix for every product on Magento 2 product add/edit page. I need to have both the rows and columns to be dynamic so when someone click add button for either row or column ...
1
vote
2answers
53 views

Magento 2 : Edit id name alias

How can I change the admin edit id name like if I want to change xx_id to id in a Ui component form in address bar? http://localhost/Magento225/admin/vendor/module/edit/xx_id/1/ To: http://...
0
votes
2answers
762 views

Magento2 | Listing grid / “select all” option not working

I’m having issue building listing grid in my own module. The fact is that if I select one or severals checkboxes, it works. If I select all (one by one or using the select all dropdown above), nothing ...
1
vote
0answers
85 views

extend “private method” in a define module via mixin

Let's say we have a class that returns a Magento uiComponent, that I want to extend (original.js) /* file name: original.js */ define(['uiComponent'],function(Component){ 'use strict'; //here'...
1
vote
0answers
51 views

How to get the selected Order(s) so i can use them for building a form in custom grid?

I am new to Magento and development in in general. I am working on a custom module. I did some tutorials and a lot of searching to help me get where i am. But now I have the feeling I am lost ...
0
votes
1answer
76 views

Field labels missing from UI component form

I'm struggling to figure out what's wrong with this form I've created. The form is displayed and data from the data source appears as it should but there are no labels next to the fields. I've been ...
1
vote
0answers
74 views

Magento 2: Hide Admin Attributes Based on other Attribute's Value

I've created some custom yes/no Customer Attributes in the admin area. Now I'm looking to hide some attribute fields if these are set to no For example, I have a yes/no attribute called ...
0
votes
0answers
108 views

How to Implement auto text box with multi select in Magento 2 admin?

I am new Magento 2.2.3. I want to implement a select box with multi select option and search filter. I am able to see multi select option but there is no search box to type. Please help me. Any ...
0
votes
1answer
381 views

Adding url parameters to UI component mass action

I have a ui component with a listing of products in magento 2.2, with a mass action function implemented. however when it submits, i need it to also pass over a parameters from the query string. ...
1
vote
1answer
2k views

Magento 2.2 CRUD(Add,Update,Delete,Inline Edit) with ui component

My Concern is i want to develop basic extension with ui component with simple crud operation so i am referencing cms-page. What i have achived so far: Grid is properly working(with filter,column ...
5
votes
1answer
564 views

Magento 2 Ui Component Difference between <setting> & <argument> node

I am developing one custom module in Magento 2.2.2 where I have referenced some internet blog and Magento core extension like cms-page or cms-block. In their grid_listing.xml files wrote code ...
1
vote
1answer
322 views

Changing a fieldset label on an ui-components form

I have a form built with ui-components. And when changing a field, I'm trying to change the label of the fieldset that contains that field. Here is what I have (the significant part) THe fieldset ...
0
votes
1answer
86 views

Magento2 : How disable some specific values in Multi-select UI component

I am setting some values in multi-select to be disabled based on some condition This is how I am declaring my UI component <field name="category_option"> <argument name="data" ...
0
votes
1answer
271 views

Change Fieldset Element Renderer using UiComponent

I have a form UI component I'm using in the backend of a Magento 2.2 installation. I'd like to adjust some items across all elements within the fieldsets of this form. In the pre-2.2 days, you could ...
12
votes
1answer
1k views

Set default values for a multiselect ui-component

I have a custom entity in my magento 2 install. And one of the fields in this entity is of type multiselect and contains the list of all countries. I'm using the ui-components for my admin form. Since ...
2
votes
1answer
84 views

Magento 2 UI Form without collection

can i build a Magento 2 Ui Form without use Collection at DataProvider Class? If i don't use a valid collection not seems to work... I just want to use the form to post data to external source. I don'...
0
votes
1answer
45 views

Add link in sku (Magento2)

I have created column name sku in custom grid. Set href for sku values. If i click the sku link,it does not go to desire page. It go to desire page when i press right click and open the link in new ...
1
vote
1answer
115 views

How to show url in Magento2?

I have created custom admin grid which contains column name sku. How to make this sku field value into url.That url go for product edit page. In layout file <column name="product_sku" class="...
3
votes
1answer
104 views

component in magento2?

How to pass dynamic value for <item name="componentDisabled" xsi:type="boolean">false</item> this component. <?xml version="1.0" encoding="UTF-8"?> <listing xmlns:xsi="http://...
1
vote
0answers
29 views

The variables for a UI library component are not found

I want to use UI library _tooltip.less component. I have a custom checkout.less file where I'm importing the component this way @import "source/_tooltips.less"; However for some reason the the lessc ...
0
votes
1answer
853 views

How to create Admin form in Magento 2 without using Uicomponent?

I have a grid which is showing data and know I want to create action and Add new Button. But I don't want to use Uicomponent. Can someone tell me how to create a admin form step by step (Admin form ...
0
votes
1answer
47 views

How to associate status value to label value in “listing” ui component (Magento 2.2)

I am using an ui_component (listing) for a custom grid in magento 2.2. I have a status colum with various value, see below: Here is the column declaration in the "listing" component <column name=...
0
votes
1answer
1k views

How Do we can give dynamic data for a form field in admin form(ui-component) in magento 2

I need to add note to the form field using notice tag. for example <notice translate="true">Image size should be equal to some(here I need to pass dynamic value)</notice> form.xml &...
1
vote
1answer
904 views

Magento 2 UI grid non db dataprovider and pagination issue

I'm trying to us the UI grid component to create a grid in the backend that displays information that's not from the database. So far I created the XML files, the controller and a custom data provider....
0
votes
1answer
32 views

Magento2 Form Component Base Table not found

I'm creating an input form for my module with form components as recommended by the magento2 documentation. The uiComponent is displaying on the page however it's throwing this error - where it's ...
1
vote
0answers
123 views

Error depending with fileuploader on text field validation while saving category in BO

I've got an error on category saving in BO: Warning: ltrim() expects parameter 1 to be string, array given in vendor/magento/module-catalog/Model/Category/FileInfo.php on line 102 Have simple text ...
3
votes
0answers
52 views

Magento 2.2 : uiComponent Form : show images in a field

I would like to show images in a field without having uploader button. I have images name in the DB column. How could i use a renderer for the field or any other way to do this?
1
vote
2answers
459 views

How to remove the prefix field from the checkout in 2.2

How do I remove this prefix field from the checkout in Magento 2.2? When Googling this it appears there used to be an admin setting that has since been moved/removed: Update - I don't have the Show ...
2
votes
0answers
288 views

popup is not displayed in in magento2 admin grid

I'm a beginner on Magento and I'm stuck at the pop-up level, so I did the add action button and it works fine <actionsColumn name="actions" class="Managys\Pricing\Ui\Component\Listing\Column\...
1
vote
1answer
24 views

What is the purpose manipulate method in layout.js?

I was searching a way to move around Magento 2 frontend components in the current page and stumbled across the following function in module-ui/view/base/web/js/core/renderer/layout.js ...
1
vote
2answers
676 views

What layout types are there for the UI form component?

What layout types are there for the UI form component? The example in the documentation (http://devdocs.magento.com/guides/v2.2/ui_comp_guide/components/ui-form.html) have type tabs: <item name="...
0
votes
1answer
749 views

Magento 2: How to use multiple fieldsets using uiComponents?

I want to have multiple fieldsets under the same tab using uiComponents. There is something similar under Stores -> Attributes -> Product but it's created using an old deprecated method. Is ...