Questions tagged [uicomponent]
Denotes questions regarding Magento Ui Components
1,273
questions
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&...
0
votes
1
answer
30
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
3
votes
2
answers
3k
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.
...
0
votes
2
answers
2k
views
Disable inline edit in ui listing
I have created a custom module where i add data. This data is displayed on the grid. On the grid i have enable inline editing.
Now i want to disable this inline editing only when certain condition is ...
0
votes
1
answer
2k
views
Magento 2 How to add the custom categories attribute field in product form using Pool Modifier? [duplicate]
I am trying to add the categories and subcategories in a small panel Exactly like the one in the Product Form in the admin panel.
I need to add it in Product Form
How to achieve this?
0
votes
1
answer
240
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 ...
5
votes
1
answer
2k
views
How to create password Field
So i create an xml for form like this
<field name="password">
<argument name="data" xsi:type="array">
<item name="config" xsi:...
1
vote
1
answer
1k
views
Remove selectionsColumn from Columns dropdown in admin grid
In my custom admin grid I have checkboxes , I added them like this:
<selectionsColumn name="ids">
<argument name="data" xsi:type="array">
<item name="config" xsi:...
0
votes
0
answers
64
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 ...
0
votes
2
answers
2k
views
Magento 2 custom catalog condition rule not saving in custom module
I have added custom catalog conditions to my custom module admin form. a condition drop-down is displayed fine and in post data, condition value is also getting. but I am unable to save condition ...
2
votes
2
answers
3k
views
How to make select ui component as a required entry in Magento 2
<form>
...
<fieldset>
...
<field name="select_example" formElement="select">
<settings>
<dataType>...
0
votes
1
answer
462
views
Custom Inventory Source Item
I am trying to render the extension_attibute value from databases to show on UI component field for Custom Inventory Source Item (please refer following screenshot)
For that I have created -
create ...
0
votes
1
answer
303
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? ...
2
votes
1
answer
302
views
The "componentType" configuration parameter is required for the "custom" component Magento 2
I am facing this error due to custom field-set on the category form. Those attributes are related to the Affirm Payment.
Error i am getting,
"1 exception(s): Exception #0
(Magento\Framework\...
4
votes
0
answers
460
views
Show/Hide dependent attribute field on toggle attribute field of product add/edit admin form into Magenot 2
As per the requirement, I have created 2 product attribute into magento 2 admin. First attribute is toggle(Yes/No) attribute and Second is Text attribute which is dependent on First attribute. Now I ...
0
votes
0
answers
55
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 (...
0
votes
0
answers
56
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 ...
0
votes
0
answers
41
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="...
0
votes
0
answers
164
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 ...
1
vote
2
answers
486
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 ...
0
votes
4
answers
3k
views
Error:Something went wrong with processing the default view and we have restored the filter to its original state
Something went wrong with processing the default view and we have restored the filter to its original state.
And in the console, it shows "UI component could not be rendered because of system ...
3
votes
1
answer
560
views
Magento 2 Catalog Rule Condtions
I am trying to implement Magento 2 catalog rule condtions in a custom module Ui Component form. Below is the field set:
<htmlContent name="block_promo_catalog_edit_tab_conditions" sortOrder="20"&...
1
vote
1
answer
1k
views
Magento 2.4.2 - 2.4.5 - custom page builder element not working after upgrade
We have a custom page-builder component for adding slides. The component has stopped functioning after upgrade to 2.4.5.
The admin panel page builder editor loads fine, we can add our component, it ...
0
votes
1
answer
1k
views
How to display custom database table in admin grid using Ui component M2.4.5 PHP8.1
I have created a custom module with custom database table with 3 columns.
I have setup an admin page with menu etc. and can load the data from the database using the ResourceModel Collection and ...
1
vote
1
answer
223
views
Problem for create dependency between Custom Fields and Customer Group Id field in customer form UI component
I created a new extension that add more fields to customer to control sales reps users. The fields and data are working as expected. But I want make the new fields be hide or disable for some customer ...
4
votes
2
answers
700
views
Negation in the imports link (UI component)
I've got the fieldset component in my custom UI-form:
<fieldset name="default">
<settings>
<label>Default</label>
<collapsible>true</collapsible&...
0
votes
1
answer
153
views
How to add Progress Bar in Save Controller Magento2?
I wanted to add a progress bar while the code in Save controller is executing on Clicking Save Button in Ui_component Form in Magento2?
How Can I implement this
Thanks !!
1
vote
1
answer
1k
views
Magento 2 - How to make added checkout fields inline similar to the default checkout fields
I want to make the additional checkout fields imported from BSS OrderDeliveryDate extension, date, time slot and special instructions inline so that the styling matches the default checkout fields. ...
4
votes
4
answers
2k
views
How to show data in grid based on url parameter in magento 2 custom form?
I created a custom form to save the data(category - table_category). In the form page i have a grid which shows Faqs related to the category. Currently i am getting all the faqs(table_faq), which are ...
0
votes
1
answer
3k
views
Magento 2 UI Component admin form conditional required validation
I need to create 2 fields(checkbox and input) in admin catalog form. I created both fields using UI Component.
I need to add a condition that when checkbox is checked then input field will be required....
2
votes
1
answer
612
views
Ui component issue after upgrading from Magento 2.4.2 to 2.4.5-p2
After upgrading Magento version the custom checkout component created to handle customer informations does not work anymore, with the previous version everything was fine but now I am getting those ...
0
votes
1
answer
83
views
Magento 2 How add PDF Uploader to UI Component?
How do I add a PDF uploader to the ui component? I could find how to add an image uploader, but I can't find how to do it for pdf files.
0
votes
1
answer
184
views
How to disable Stock Status in Advance Inventory section under product page
I need to disable stock status field under advance inventory section in the product page.
I don't want to remove it but show it disabled. Please suggest.
0
votes
0
answers
205
views
Magento 2 Not getting data in Save controller when using Product Grid in UI Component Form in custom module
I have taken reference from below links:
https://www.rohanhapani.com/magento-2-how-to-add-product-grid-in-ui-form-using-uicomponent/
Magento 2 : How to add a product grid in custom module using ui ...
0
votes
1
answer
124
views
Magento 2 hide edit/delete/view link on grid based on condition
I want to hide link for edit/delete/view on grid based on
certain condition.
How can I do that with ui component
2
votes
3
answers
3k
views
Magento 2 Add Column To Sales Order Grid Issue
I am facing layout issue when I added new column in sales order Grid. For some reason filter and options are displaying below grid.
Please Refer Screenshot
My Code How I added the column.
etc/...
2
votes
1
answer
659
views
Magento 2 Grid not showing up
I have been trying to create a grid list for my custom module. All code part is done and the grid not displayed. Reviewed the code many times but I couldn't find the issue.
Here is my code:
Test\...
5
votes
1
answer
810
views
Magento 2 - Using UI Component as input for widget
So far, in all the documentation and tutorials for UI Components that I've come across (Like the documentation here:
https://devdocs.magento.com/guides/v2.3/ui_comp_guide/bk-ui_comps.html, or in ...
3
votes
2
answers
2k
views
How to use Product Chooser Widget with UI Component Form
I want to have a field in my UI Component form and a "Select Product..." Button where I can choose a product and it gets inserted into the input.
Similar to the "Catalog Product Link" Widget.
Started ...
0
votes
1
answer
164
views
Mageto 2.4.5 uiComponent html template not loaded
I am new to Magento, trying to do a simple block page
in view/frontend/templates.clockroute.phtml :
<div id="uic-demo-container" data-bind="scope: 'clockroute'">
</div>
...
0
votes
2
answers
662
views
How to insert a listing in admin form in magento 2 UI Component method?
I have a Category, and Questions form in my custom module. Questions are added against category.
Each question can be belong to a category or multiple category.
I need to insert a listing on category ...
0
votes
1
answer
132
views
Input label not rendering in admin ui form
I have an xml form (ui component) where two inputs are inside of a container where breakLine is set to false so the inputs are side by side. This is working for the most part, the issue is that the ...
3
votes
3
answers
7k
views
How inline edit work in admin ui-components grid magento2?
Can you please briefly explain how inline edit work in admin ui-components grid in Magento2.
Please explain controller, interface, and model.
0
votes
1
answer
228
views
Magento 2 ui component required but hidden
I have a field which i don't want to show. But this field needs to be required.
this field should be populated when we click on specific button via ajax.
so we have something like that:
<form>
...
1
vote
1
answer
496
views
Magento 2 : Is possible to use the custom collection in existing datasource for ui Component?
I have created one UiComponent form using one datasource. Now i want to add the custom field inside this form but this field data will come from separate collection. So how can i use the different ...
0
votes
1
answer
54
views
Remove column xml uicomponent if condition is true
I have 2 columns in xml with js component, but i want display each column if condition is true, so if precio_anterior is not empty and value is different to 0 show precio_anterior column if not, show ...
2
votes
2
answers
985
views
Magento 2 ui/form/field template Error since Upgrade from 2.3.7 to 2.4.5-p1
since I updated from Magento 2.3.7 to 2.4.5-p1 I'm getting some errors with some xml layouts.
On one of my XML files where I had
<item name="template" xsi:type="string">ui/...
0
votes
0
answers
105
views
Magento 2.4 how add tabs ui_component in module custom adminhtml
Good morning, could someone help me render some tabs in adminhtml with a custom module? I already managed to create the tabs, but the content is not displayed correctly, it is added in the same space ...
0
votes
0
answers
530
views
Magento 2.4.2 How to implemented single image upload in from the admin side using the UI component and Save and Show in product Edit/ Add Page
I am Trying to create Custom Field to upload single Image. With the help of various documentation I tried to implement using UI Component. Thanks for your help my code is given below.
app/code/PCsoft/...
1
vote
0
answers
17
views
edit inline ui_component doesnt working
Help me check..
I cann't edit inline grid ui component
I dunno where I wrong? Here is my code for columns part in :
scportal_subscriptions_subscriptions_amountused_edit.xml
<?xml version="1.0&...