Questions tagged [uicomponent]

Denotes questions regarding Magento Ui Components

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

Failed to load the "Vendor_ModuleName/payment/mypay-form" template requested by "checkout.steps.billing-step.payment.payments-list.mypay"

Magento 2.4.6-p2 When trying to add my custom payment I've got an error in console when going to checkout/#payment page. Something like that: [ERROR] Failed to load the "Alex_Mypay/payment/mypay-...
Alex  Bachynskyi's user avatar
0 votes
2 answers
29 views

Ui component validation remove using js magento2

I have a fieldset in my UI component. Depending on certain conditions, I show/hide fields within it. All fields are initially marked as required in the UI component. However, I want to remove the '...
Chippy Ani's user avatar
0 votes
0 answers
16 views

magento 2 change multiselct to ui select for custom customer attribute

I want to create a UI select in the customer account area in ADMIN for custom attributes. something like this -> https://dolphinwebsolution.com/magento-2-add-ui-select-component-with-search-filter-...
jibin george's user avatar
0 votes
1 answer
43 views

Add new tab to product admin edit page, but for specific product type

Is it possible to add a new tab in the admin product edit page, but just for simple products? I was able to add a tab using ui_component, but I can't figure out how to add this just for simple ...
user3029120's user avatar
0 votes
0 answers
24 views

Magento ui component trigger visibility

in a magento 2.3.4 site we have a firecheckout module with registration on checkout enabled. Password fields visibility is managed by a checkbox field which triggers visibility. We'd want to trigger ...
Matteo Rossi's user avatar
0 votes
0 answers
42 views

Magento 2 How To Create File Upload Controller in Ui Component Form

I have created one custom extension that creates one grid using UI component so now, on this create one control file upload type, and using this control I want to upload one PDF file and save it on ...
Keval Chauhan's user avatar
0 votes
0 answers
16 views

Displaying Date with Timezone Abbreviation in grid But should not affect filter field date format

I'm currently working on a Magento 2.4.5 project and I'm facing an issue with the date column in the Admin Grid. I have a column named "created_at," and I want to display dates in a custom ...
M2 Dev's user avatar
  • 528
0 votes
1 answer
27 views

Edit Data for Store View UI component is not displaying with selected value

I have created a custom module and have used UI component to display store view field in Form page. I am facing this issue only in Production Mode. When I open the Edit form page the Store View UI ...
Kaushik Kumar Roy's user avatar
0 votes
2 answers
98 views

In Magento 2, Getting an issue with the toggle button where the status does not change when editing the admin grid form

I'm using toggle button in my admin form and saved successfully but when I am editing admin grid then toggle button status not changed according to status (true or false) Update: I have write the ...
raghav's user avatar
  • 38
0 votes
1 answer
35 views

Magento 2 custom validation rule in UI component form field with Ajax

I have created a custom validation rule in my admin ui form using the below link https://webkul.com/blog/add-custom-validation-rule-in-ui-component-form-field/ If I use a direct condition then it is ...
Jancy Abraham's user avatar
0 votes
2 answers
66 views

Magento 2 :: Admin Custom Form values stored with double quotes issue

I have created a custom admin form using a UI component and added a multi-select shipping method field. I've successfully retrieved the selected values in an array and stored them as a string in my ...
IntraPersonalLearner's user avatar
0 votes
0 answers
12 views

Clarification on Magento Date Column's Timezone Configuration

I've been exploring the configuration options for the Date column in Magento UI component grids. Specifically, I'm trying to understand the purpose of the <timezone> element in the XML ...
Zahirabbas's user avatar
  • 2,073
1 vote
1 answer
24 views

Grid is not loading showing just the spinner without errors in logs or console

I'm trying to follow the guide https://developer.adobe.com/commerce/php/development/components/add-admin-grid/ to add a custom admin grid however I'm stuck in a situation where there's no error and ...
gabtzi's user avatar
  • 656
2 votes
0 answers
42 views

Sorting custom columns from module that extends another module containing all the data (collections, data providers, etc.)

I have two custom columns in UI grid (let's call them subscribed_customers" and "unique_purchases") created in particular listings that retrieve value from the database with logic. ...
Dramorian's user avatar
1 vote
0 answers
42 views

Adding dataSource to dynamicRows ui component in product_form

I need to add a Dynamic Rows ui component to the admin product_form.xml. I get the ui to work (the html is updated when adding and removing rows). But I cant configure the datasource/dataprovider for ...
Magnus's user avatar
  • 21
0 votes
0 answers
28 views

Need to build a basic admin form, instead getting an infinite spinner

Objective is to create a custom admin page with a form using UI components. I have the custom page working but form UI component is not loading and showing an infinite spinner. One more requirement is ...
Timik's user avatar
  • 478
0 votes
0 answers
29 views

Where is this.address() defined in vendor/magento/module-checkout/view/frontend/web/js/view/shipping-address/address-renderer/default.js?

I try to figure out where this.address() is defined in vendor/magento/module-checkout/view/frontend/web/js/view/shipping-address/address-renderer/default.js ? /** * Copyright © Magento, Inc. All ...
Black's user avatar
  • 3,280
1 vote
1 answer
24 views

Disable fields in ui_component by user role

We are using the WeltPixel Peal theme. Ultimately, I'd like to prevent specific User Roles from having access to the Custom CSS/JS fields that WeltPixel adds. These are the file paths where these ...
cjochum's user avatar
  • 121
0 votes
1 answer
269 views

Custom file upload in ui-component form

I am trying to get file upload working in a ui-component admin form. The file input field is coming from a htmlContent block. This is all sitting in a <form xmlns:xsi="http://www.w3.org/2001/...
vandijkstef's user avatar
1 vote
0 answers
33 views

Duplicate Images When Adding Image Form Gallery In Magento 2.4.5

I am using Image Uploader component to upload multiple images. But when I click 'Select from Gallery' -> select image -> 'Add Selected', it gets duplicate images. How do I get the correct image ...
Finn Truong's user avatar
0 votes
1 answer
53 views

How to add muli select column in inline edit of customer grid for a customer attribue in magento 2

I have been trying to add the multi-select option in the inline grid edit of the customer grid for a customer attribute. However, I could find samples for adding multi-select options for inline ...
mage's user avatar
  • 15
2 votes
2 answers
100 views

Magento 2 InsertForm component in to the UI form component not show form buttons

I added form to admin modal with InsertForm UI component based on documentation. https://developer.adobe.com/commerce/frontend-core/ui-components/components/insert-form/ Unfortunately this not show ...
user3318588's user avatar
1 vote
0 answers
37 views

Render link attribute in custom page builder content type

Lets assume a custom page builder content type with a text attribute representing a link In master.html I'm already retrieving the following attributes <!--master.html--> <<div attr="...
Claims's user avatar
  • 1,146
0 votes
1 answer
30 views

Magento246 ProductAttachment Ui_Component grid not working properly

I am trying to show all my attachments in my grid but the grid is showing only the last one that I uploaded, but in the database and on the frontend it shows all and when i do filter it show all ...
abbas fakhruddin's user avatar
0 votes
1 answer
35 views

Magento 2: How can I hide the customer custom attribute from backend customer create and edit from if the value is null?

How can I hide the customer custom attribute if the value is null? Ultimately I want to show this field on edit if it is not null and I don't want to show this field when we create a new customer
Hiren's user avatar
  • 1,091
0 votes
0 answers
27 views

Add dynamic rows to bundle selections

For each selection in a bundle option, I need to add a dynamic row with fields image and mapping id. Currently I've managed to add them with a plugin with afterModifyMeta on class Magento\Bundle\Ui\...
Sondre's user avatar
  • 343
0 votes
3 answers
95 views

How to remove 'Create New Order' button from sales order grid

How can I remove 'Create New Order' button from sales order grid? I don't want to hide it, i know about following code <item name="style" xsi:type="string">display:none</...
Hiren's user avatar
  • 1,091
0 votes
1 answer
177 views

Export Button in sales order grid Magento 2

I've included the following code in sales_order_grid.xml, but it's triggering a form key error. My goal is to export data to a text file. Could you please advise on how to accomplish this? Do I need ...
Denish Vachhani's user avatar
0 votes
0 answers
21 views

Magento2 Validate Ui form on custom button click

How can I validate form on click of push button same like save button
Hiren's user avatar
  • 1,091
0 votes
0 answers
39 views

How to create a ui_component form which should be come as slide while click on admin grid edit action

How to create a ui_component form which should be come as slider when we click on edit action then that form which I have created should be come as slide and save and back button also should be ...
Mark's user avatar
  • 53
0 votes
0 answers
45 views

Magento 2.4 how to create a custom region select at checkout

Good morning, does anyone know how I can create a custom selection in the checkout of the type "Magento_Ui/js/form/element/region" something like the default selection of "region" ...
GStiven's user avatar
  • 41
0 votes
1 answer
70 views

Default filter for admin sales order grid Magento2

If there is no active filter for sales order grid, I need to add a default filter in sales order grid in admin that will show only current date orders if no other filter are applied. I need to do it ...
Sumit Verma's user avatar
0 votes
1 answer
65 views

How to add my custom jQuery in admin uiComponent form

Is there any way that I can add a JS/Jquery file which may able to listen my uicomponent's (checkbox/Radio) event (like OnClick or OnChange) so that I can do some operation with that. That UiComponent ...
Shahzad Hasan's user avatar
0 votes
0 answers
27 views

MassAction if I select all items I get NULL in the controller

I have this grid: <?xml version="1.0" encoding="UTF-8"?> <listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation=&...
elunicotomas's user avatar
1 vote
1 answer
246 views

How To Disable Page Builder for specific form field in Magento 2?

I want to disable the page builder for specific fields in my custom module. I want to show the default wysiwyg editor. and all other page I need page builder with wysiwyg editor Here is my UI ...
user avatar
0 votes
1 answer
359 views

Magento 2 ui component multi select selected option not working on edit action

this is add new form this is working. <field name="available_time"> <argument name="data" xsi:type="array"> <item name="options" xsi:...
Rubel Parvaz's user avatar
0 votes
3 answers
634 views

In magento 2 javascript , How i can wait till a component/node initialize then i can excute my code?

How to wait till components exists in registry . I want to wait till global component "messages" initialize then I can add error/success message. // view/frontend/templates/messages.phtml &...
Phạm Hòa's user avatar
0 votes
1 answer
36 views

How to override a node in an xml file of a ui_component

I have this xml file in some third party module having this content <?xml version="1.0" encoding="UTF-8"?> <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&...
Bob's user avatar
  • 11
0 votes
1 answer
28 views

How to create a wizard steps with next previous button in admin form same as configurable product's configuration Magento 2

I want to create similar features with next previous button which display while we create a configurable products and select attribute & its combination steps by steps
Bhamini Prajapati's user avatar
0 votes
1 answer
199 views

Is there any way to get system configuration value as true false in layout file(which is exists inside ui_component) array item in magento2?

I just wantend to get system configuration value inside the layout file which is exists in ui_component folder, in below code I just wantend to get system configuration value as true/false in the ...
Mark's user avatar
  • 53
0 votes
1 answer
351 views

Magento 2.4.6 building custom admin grid filter issue

I built my own custom admin grid. It renders the data correctly, however when I tried to filter on an input, I am receiving the following error from the ajax request: Status code 500 Error: TypeError:...
Attila Naghi's user avatar
  • 3,983
0 votes
0 answers
59 views

Magento 2 ui-select component with 20k+ options crashes browser

I have a ui-select component (multiselect) that loads all options of an attribute (e.g.: manufacturer). This attribute has over 20,000 options which makes the browser crash when loading the UI ...
sulman's user avatar
  • 529
0 votes
1 answer
257 views

Magento 2: How to display region label instead of option value in custom ui component grid?

I have created an ui component and form. In the form, I have added the country and region fields and in the grid, I need to display the region label instead of the option value. How to achieve this? ...
MagentoDev's user avatar
0 votes
0 answers
44 views

How to pass options from class to admin form ui component checkboxset

I have an admin ui component form, one of the elements I'm using is checkboxset. The checkboxset seems be a bit of a ghost in core code, and documentation. When I implement the checkboxset like this (...
user27786's user avatar
  • 141
0 votes
0 answers
43 views

Value not getting saved or fetched using extension attribute, For a newly added field in 'inventory_source' admin ui page

Have gone through several posts but was somehow not able to find a fix for this issue When I save, its says "Source saved" but my custom field is not beign saved/fetched What I have done so ...
GunJan Mehta's user avatar
0 votes
0 answers
40 views

Get selected values from Grid which is created by insertListing /button component inside a modal component to display on parent

I have add this button to display a grid inside a custom UI form, but cannot able to get in Controller Data of which is selected from the grid <button name="...
Chandra Sekhar's user avatar
0 votes
0 answers
157 views

How to add date picker (calendar) in filter in Admin grid ui component

I have a custom grid in Admin using UI component. I want to add calendar as input selector in filter like date of birth/customer since( NOT from/to) Just a single input box with date selector I tried ...
Pawan's user avatar
  • 5,846
1 vote
2 answers
431 views

How to show external image in custom admin form for preview Purpose only in magento 2?

I have created a custom module, that will import images from external source and save the image in custom table as imageUrl. I can show the image thumbnail in the grid(Ui Component). I want to show ...
Mujahidh's user avatar
  • 2,791
0 votes
0 answers
33 views

Add thumbnail preview for dynamic row field

In magento 2 it is easy to add a Thumbnail column within a listing Ui Component, like so: <listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
Wesley Justin's user avatar
0 votes
0 answers
64 views

How to set the default value of a selection column to be checked or unchecked

I have a data grid used as part of a form in the admin area for a custom entity. I have this data populating as I need, with one exception. I need the check-boxes to be checked by default for certain ...
McMunchkin's user avatar

1
2 3 4 5
26