Questions tagged [uicomponent]

Denotes questions regarding Magento Ui Components

Filter by
Sorted by
Tagged with
0
votes
2answers
19 views

Magento 2.3 inline Edit ui component grid what's the use of “all in column” field?

I'm developing an admin grid for my custom module with the inlineEdit active instead of the usual edit link in action column. The grid works fine and also the inlineEdit works as intended. My only ...
0
votes
2answers
28 views

How to change custom UI grid collection based on custom attribute value in magento 2

I have created custom field in admin user creation form.Based on the value in this field,My custom module grid collection will be loaded.How to acheive this?
0
votes
0answers
7 views

Updating Option in Select Based on Another Select in Dynamic Row

i have a Feildset of Dynamic Rows having columns Select1 Select2 The Optiona of select2 are dependent on value of selected value select1 Exampla if selected value of Select1 is select1Value1 ...
0
votes
0answers
25 views

Class does not exits - issue on Magento 2

This is my error that i receive on the production server: [2020-02-20 14:43:34] main.CRITICAL: Class Mynamespace\Mymodule\Ui\Shipments\PrintAllButton does not exist {"report_id":"...
1
vote
2answers
30 views

'value' is not expected in 'text' UI component

I try to add text item to adminhtml UI component as described in docs: <?xml version="1.0" encoding="UTF-8"?> <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
3
votes
2answers
127 views
+100

UI component Filter with category collection Magento2

I am implementing Grid for categories collection using UI component. I have used the following code Vendor/Module/view/adminhtml/layout/vendor_index_index.xml <body> <...
0
votes
0answers
21 views
+50

Magento 2 UI Component conflicts between observable value

I try to add UI Component to product item on product list due to difficult FE login for each item. But I was wondering when conflicts between components appeared. All components for each item has a ...
0
votes
3answers
28 views

Magento-2 Multi-select/Check box in Ui component

How to change dropdown to multi-select in product page .Screenshot is attached below . Need to change the third drop-box to multi-select or checkbox my product_form.xml is <?xml version="1.0" ...
2
votes
1answer
42 views

Add default Export button in Admin Grid Ui-Component

here is my listing code <?xml version="1.0" encoding="UTF-8"?> <listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Ui/etc/...
0
votes
0answers
13 views

Magento 2.3 populate listing grid without database table

I've created an admin grid using ui component listing. I need to populate this grid with some data that are not related to the database. In order to do that I followed this link and it partially works:...
0
votes
0answers
21 views

Use Magento UI Form Component Outside Of Form? (Product Category Selector)

I need to use the Product Category Chooser: But not inside of a usual UI Component form. Is this possible? Basically I want to call it from a .phtml file for a custom admin page I'm building.
0
votes
0answers
20 views

Magento2 - I want to load all product list in one button click in the ui component

I want to list all products in one button click. I created that button with ui component. My concept is just same as, when we try to add new product the products list in the product edit area as ...
1
vote
1answer
12 views

Magento 2. How to create new uiComponent(e.g. my_customer_form) that extends from existing one(customer_form)?

In this context we use the term UiComponent to define a configured collection of components to create a form or a listing, for example customer_form which is configured in customer_form.xml How can I ...
0
votes
0answers
11 views

Add Grid listing in UI component form and Save data

I have to create admin form using Ui component. In which I have added two tabs. In 1 tab slider information fields and in the second tab i want to add banners listing using Ui component. I have added ...
0
votes
1answer
16 views

Custom ui_component form fieldset not submitting

I created a custom fieldset for a ui_component form to add custom input structures. The problem is, that the inputs are not included in the POST values. The input you see is just a simple element in ...
0
votes
0answers
7 views

Can you construct a ui component listing in php?

I'm trying to create a page with a custom UI listing in which I insert columns that are selected in my settings. In order to make my UI listing dynamic, I want to build it in php instead of xml. Is ...
0
votes
0answers
62 views

Get (observable) product price in UiComponent on frontend

I am working on a UiComponent that is designed to be placed on a product page and needs to change its content based on the final price of the product. If the price of the product changes (e.g. in ...
0
votes
1answer
36 views

How to add a field using xml from existing fieldset created using php

I have a module where I'm overriding some of it's feauture to match what I need. So everything is working but I need to add an editor wysiwyg field into the existing form using an xml (uicomponent) ...
0
votes
1answer
26 views

Magento 2. Pass value(for custom field) to UIComponent from XML configuration file

It is possible to pass value from XML to JS components. <field name="postcode" component="Magento_Ui/js/form/element/post-code" formElement="input" sortOrder="70"> <settings> ...
0
votes
1answer
33 views

How to add a button adjacent to add to cart button in magento v2.2.0 using uiComponent?

How to add a button adjacent to add to cart button using uiComponent in magento 2.2.0.. https://i.stack.imgur.com/evz8C.jpg like this image,
0
votes
0answers
14 views

How to add where clause or join condition to the shipment grid using ui component?

I managed to display the shipment core grid using ui component on another magento admin page. Right now I would like to filter it, to add more where clauses and join it MAYBE with other tables. This ...
0
votes
0answers
13 views

Save selected in selectColumn in listing within the user

<form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd"> <fieldset name="allowed-customers"...
1
vote
1answer
17 views

How to duplicate the shipments grid in another custom url from the admin panel?

my goal is duplicate the default shipments grid in another page from the admin panel. So far I've created my layout xml: <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
1
vote
0answers
18 views

Magento 2 : Cart keeps returning original quantity

I am trying to update the value of the qty in the shopping cart page with a Knockout on click, but it seems to revert the value to it's original state. This is the script for the button : <td ...
0
votes
0answers
19 views

Magento 2.2.3 admin ui component works on developer not on production page is blank

My Custom admin page isn't loading up. I get a blank screen I have taken a look at the similar questions in Magento.StackExchange but none of them did the trick. it works if I put the MAGE_MODE to ...
0
votes
0answers
14 views

How can I remove Image and Video tab in only Configurable Products Admin Magento 2.3?

I want to remove Image and Video tab only from Configurable Products. If any one has idea. Please help me.
1
vote
1answer
85 views

Magento 2 :- Date Rang Filter modification in UI components

I used below code to display the delivery date now i want to call my custom file to filter the admin side grid section in sales order grid section. <?xml version="1.0" encoding="UTF-8"?> <...
1
vote
1answer
32 views

How to show/hide UiComponent form field on based of new/edit mode

I want to show shortcode field once record inserted. else on new record is should be hidden. Ui Component form field xml: <field name="shortcode"> <argument name="data" ...
0
votes
0answers
52 views

How to add options to multiselect after ajax?

In Magento 2.3, I have extended the UISelect components script. I am using the search field to get the options based on the input. I get the response, but how can I attach it to the select dropdown ...
0
votes
0answers
43 views

How to add Ui Component Grid with inline Editing in Frontend Magento 2?

I want to add inline Editor in Webkul marketplace product grid. Grid is created using ui component and i have added my code also but inline editing is not working. Can anyone please help me. <...
0
votes
2answers
30 views

Set pager default value in product form in adminhtml

I need to set some very high value as default in pager in product grid in adminhtml. Or to disable it whatsoever. Here's excerpt from my product_listing.xml <listingToolbar name="listing_top">...
0
votes
1answer
35 views

How to create Form action on click of a Button under Modal Widget

I have created a modal widget on a category section under Admin. A custom button is created along with Save and when we click on that button, it opens a modal with custom form. Inside that form, ...
0
votes
2answers
40 views

Custom button in product form does not generate a proper form key

So I need to add a Save & Close button on the product grid. It even works, but not quite so. On clicking that button product is saved, and redirect to product grid happens. But with an error "...
1
vote
1answer
27 views

Magento 2 : Element sort order not properly working

Preconditions (*) Magento 2.3.3 Description (*) I have 2 dropdown in UI form. First is simple dropdown, 2nd is UI multiselect dropdown. In 1st dropdown there are dropdown type product attribute ...
0
votes
2answers
42 views

how to add magento2 checkout shipping form add validate-digits-range

I am trying to override checkout_index_index.xml using below code for minimum digits : <item name="telephone" xsi:type="array"> <item name="validation" xsi:type="array"> <...
1
vote
1answer
69 views

How to Create a Sliding Modal Popup on Custom Button in Magento2 admin

How can we create a modal popup on a custom button like it does when we click on the "Add Attribute" button when editing the product in the backend. I want to create a similar feature on a custom ...
0
votes
0answers
28 views

How to add custom param in url in custom mass action on magento2 grid?

I want to add some custom parameters in my custom mass action URL on grid. I've added mass action but I'm not able to add custom param in URL. How I can add custom param in URL?
0
votes
1answer
31 views

How to use FilterModifier?

There is a default customer grid with 1 custom field. By default SQL query for this field contains LIKE function. I'd like to replace it with strict =. There is a special method to apply Filter ...
1
vote
1answer
56 views

Magento 2: Multi Select using UI-component in Admin Form

How to add this type of multi select in admin form using UI-Component ?
2
votes
2answers
43 views

Magento 2 - cart page custom UI component foreach binding

I want to add a custom UI component template on the cart page. The data is in JSON format and wants to bind forach to display a list of data. data like as {'name':'5% discount','description':'5% ...
0
votes
0answers
37 views

Magento 2: Filter type date not working on custom grid

I have created a custom module to add two fields in newsletter grid, one field is for DOB and other field is for Preference, both the fields data is saving well but the filter for DOB is not working, ...
1
vote
1answer
20 views

Magento 2 : Required Field (UiComponent) (only/any one from two)

I want to set anyone field is required from two fields [UiComponent] for example, either text field or Image anyone needs to a required field otherwise can not save.
0
votes
0answers
26 views

How to make custom grid in admin using ui component which filtering data from sales order in magento2

I want to make one admin grid using ui component in magento2 which filtering website_id=2 and status="processing" from sales_order what I have tried: di.xml <?xml version="1.0"?> <!-...
1
vote
0answers
16 views

Populate multi-select field with saved data from linking table [uiComponent]

I have a multi-select field to link an entity (specialist) to multiple product categories. The field shows and the selected categories are saved when I check them: If I check the database, the ...
0
votes
0answers
19 views

Provide selected products from product_listing.xml

i have new page, with uicomponent form. And i have button in product_listing.xml uicomponent, with URL to this new page. I need to pass all product IDs that were selected in product_listing.xml to my ...
0
votes
0answers
15 views

Change Logic of Sort Orders Magento 2 Catagory Product Tab Grid

On category pages when sorting by position on frontend 0's come after positive numbers. However on admin if category products tab when sorting by positions my 0's come before 1's which is logical ...
0
votes
1answer
65 views

Magento2: Showing custom table data as options for select dropdown in UI component grid form

I have a UI grid form in the admin, that allows the admin to edit the data in a grid. The grid is listing data from a custom table multivendor_pickupinstore with structure below: id seller_id ...
2
votes
2answers
50 views

How to use Text Component in custom Admin form?

I am trying to insert simple text to my custom form (not system.xml). There is a UI component for Form or DynamicRow to show static text: https://devdocs.magento.com/guides/v2.3/ui_comp_guide/...
1
vote
0answers
18 views

How to use an array for the field name in a UI component?

How do I set the name of a UI component field to use a nested array rather than just the name? As an example, I want it to be: <input name="something[field_name]"/> Currently it is: <...
1
vote
1answer
25 views

Magento 2. Frontend. How do I subscribe to a property of my component

My question is pretty straight forward. I have JS component (an AMD module that extends from uiComponent) and I know I can make a property observable by specifying the tracks object in the defaults ...

1 2 3 4 5 21