Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [uicomponent]

Denotes questions regarding Magento Ui Components

0
votes
0answers
5 views

Grid sezielize ui-form

I have refer links to make tabs have grid product sezielize. However, I can't filter that product and post data when saving. It show error on console: TypeError: require is not a function[Learn More]...
1
vote
0answers
21 views

How do I programmatically submit a form generated via a UIComponent?

I created a UI Component form, but I am unable to find the element in the source. I would like to click a button and then inspect a field in the form and dependent on what value is selected submit ...
0
votes
0answers
17 views

How to show new shipping address modal form below list of shipping addresses?

I am completely new to magento ui-components and I don't know how to use them to make frontend changes. I am adding screenshot below to show what I am trying to achieve. Recently I have a task in ...
0
votes
1answer
14 views

Nested Fieldsets breaks forms inputs within UI Components

I am building a form within admin of magento 2 using ui components and want to organise the fields within fieldsets like below: <fieldset name="ticket"> <argument name="data" xsi:type="...
1
vote
0answers
15 views

ui component specify backend model

stumbled upon a problem, have following in my setup, but occasionally it conflicts with fileuploader so when i use ui component to add field i have no such problem. $eavSetup->addAttribute( ...
1
vote
2answers
43 views

Magento 2 Edit Catalog Rule conditions in UI Form

I have created a UI form with field catalog rule conditions. The form loads display the conditions section and it is saved in the table. But in edit case the conditions are not displayed. Reference: ...
1
vote
1answer
19 views

Magento 2 UI form Multiple image upload

I have implemented multiple image upload using the following code. <field name="press_images"> <argument name="data" xsi:type="array"> <item name="config" xsi:...
0
votes
0answers
25 views

Magento 2: Image not uploading in UI form "Attention: File was not uploaded”

I have created a custom form using Ui_Component,facing problem during image upload. I am using 2 column left layout ie, tab structure. https://prnt.sc/nouwe5 When I try to upload the image it shows ...
3
votes
1answer
32 views

Error while running bin/magento setup:di:compile

After running bin/magento setup:di:compile I get the following error. Errors during compilation: Vendor\Module\Ui\Component\DataProvider\OutfitProvider Incompatible argument type: Required ...
2
votes
0answers
16 views

Multiple Image upload restrict up to 10 images

How to add multiple image upload in magento 2 and restrict to only 10 <field name="images"> <argument name="data" xsi:type="array"> <item name="config" xsi:type=...
2
votes
1answer
101 views
+50

Add default filter to sales_order_grid for order status

I want to filter the order grid in admin to see only the orders in status "processing" in the grid by default. This grid is different from the others, I tried solutions from here but no success add ...
3
votes
2answers
46 views

Magento 2.3 - Add product name column in custom ui grid with product name filter

I have added product name column in my custom ui grid. In which data displayed properly but not filtered grid by product name. Note : I set product name with comma separated in ui grid column. Here ...
1
vote
1answer
22 views

Magento 2 UI component form default value not set in radioset

UI component xml <field name="notification_deal_type"> <argument name="data" xsi:type="array"> <item name="options" xsi:type="object">Embitel\...
2
votes
1answer
20 views

Add UI component Field in Block form

I want to add an image field of UI component on traditional block form. I want to replace only this field with UI component. The reset field should be in Block class form. $fieldset->addField( ...
2
votes
0answers
21 views

magento 2 file uploader frontend append files

From what i know magento 2 already uses file uploader https://searchcode.com/codesearch/view/45780717/ , how can i use it to create something like they have on this page under tab "Basic Plus UI": ...
4
votes
1answer
31 views

Add product grid in custom module using ui component

I have followed this solution Magento 2 : How to add a product grid in custom module using ui component? but i am getting this What i am doing wrong can any one help me on this. Edit Controller ...
2
votes
1answer
26 views

Show Data in admin side. Magento2

I'm showing data in admin side like and its code is <?xml version="1.0" encoding="UTF-8"?> <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:...
1
vote
0answers
13 views

Open Model containing Ui Listing

I have Two tables table1 has id and other fields and table2 which has id, foreign key of table1 and other fields. I have create a ui listing for table1 and added a button to go in table2 ui listing. ...
0
votes
0answers
25 views

Add custom PHP class in form modifier column

I've a scenario where I need to process a column and then display it on the grid afterwards. For instance, we can achieve this using UI component like this. <column name="order_increment_id" ...
1
vote
1answer
38 views

Need help with ui component and change sorting order of columns in magento 2

Have listing but need to change view of one column: <column name="status"> <settings> <filter>text</filter> <label translate="true">...
1
vote
0answers
35 views

Magento 2.3.0 Admin grid using UI component sticky CSS is not working

I have created a grid using UI component. in this grid, I display only grid I don't need to display button <buttons></buttons>. gird is working perfectly when I scroll down in grid page ...
0
votes
1answer
20 views

Magento 2 : Only dependency assignment operations are allowed in constructor. No other operations are allowed

Magento 2 Coding standard provide me Warning My Code is here namespace Namespace\Modulename\Model; use Magento\Framework\App\Request\DataPersistorInterface; use Magento\Ui\DataProvider\...
0
votes
1answer
30 views

M2 | Can we create one field by dataprovider and one field by uicmponent in single group at Product Creation Page?

I have created toggle button by uicomponent in one group and some other fields by dataprovider way in another group. Can I get toggle button into group created by dataprovider way. As it is not ...
1
vote
3answers
70 views

I want to remove duplicate entry from admin grid in Magento 2

I have created a custom admin grid using UI Component with created_date filed. the requirement is to show single data per created_date. currently, the grid shows multiple data in created_date. EX: I ...
2
votes
0answers
22 views

How to remove multiple results from admin grid in ui-component Magento 2

How to Remove the multiple results in the grid from the same date in admin grid UI component Magento 2 - I have got multiple results for 1 day. - I need a single result for a single date. <column ...
2
votes
2answers
58 views

How to hide fields with toggle checkbox in ui_component Magento 2

I have a toggle checkbox at product edit form: Created as: <field name="open_amount" formElement="checkbox"> <argument name="data" xsi:type="array"> &...
1
vote
0answers
39 views

How to call functions in ui_component Magento 2

I have created two dynamic rows one by DataProvider way and one by ui_component.In Ven\Mod\Ui\DataProvider\Product\Form\Modifier\MyField getting currency symbol with this function. In dynamic rows ...
0
votes
0answers
26 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
1answer
26 views

How to extend admin js in magento 2 by mixins

I want to overide Magento_Sales/adminhtml/web/order/create/scripts.js I wrote require-config.js for this var config = { config: { mixins: { 'Magento_Sales/adminhtml/web/...
0
votes
1answer
26 views

How to add draggable-handle for configure product variants in Magento 2?

How to add draggable-handle for configure product's variants in Magento 2 ? I can see there is a similar behavior in the related products when editing a product. Like related products Row drag ...
0
votes
0answers
24 views

Magento 2 double admin grid when scroll page

I write custom module. When scroll admin grid i get upon the following bug: What is it? How can i resolve it?
1
vote
0answers
36 views

How to use this attributes in my custom form ui component

How to use this attributes in my custom form ui component
1
vote
3answers
86 views

How to make a Field only accept Numbers in Magento 2

I am new to Magento 2. I am trying to make a field that can only accept numbers for Sort Order field on UI Component Form I need help
1
vote
1answer
29 views

Drop Down Multi-select category Ui Component

I am using this code to create a multi-select category option in a form. It saves the data in the table correctly but when I try to edit it, it shows the selected category name in the field but doesn'...
2
votes
1answer
72 views

How to set input type 'Select' in ui_component grid in magento 2.1.16

I just Create ui_component Vender/Module/view/adminhtml/ui_component and in this I user <column name="check_status" component="Magento_Ui/js/grid/columns/select"> <settings> ...
0
votes
1answer
46 views

htmlContent not working in Magento 2.3.1 from Magento 2.3.0

My custom module stopped loading ui_component based admin form of Magento 2.3.1, because of <htmlContent name="gallery"> , however it was working fine in Magento 2.3.0. No logs or reports found ...
2
votes
0answers
21 views

why buttons are not showing in frontend ui form in magento2?

Why buttons are not showing in frontend UI Form in Magento2 ? Can anyone help in this. Code added in employee_form.xml file: <argument name="data" xsi:type="array"> <item name="...
0
votes
0answers
19 views

Return PHP values inside JS file

I have an module that I need to load some informations when the user clicks at the sync button (backend). The problem is, how to retrieve the values from the js file and put them in the form. view/...
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="...
0
votes
0answers
32 views

Custom Ui DynamicRows component not pulling in data

I am fairly new to custom UI components and I'm attempting to build DynamicRows component in order to allow the user to add new rows for delivery method options on the product page. I have created ...
1
vote
1answer
16 views

Add column to gridview in custom extension

I have a custom extension where the admin user needs to select a customer from the drop down. The extension saves the customer ID to the database. Currently, on the grid view, in my UI component I ...
0
votes
1answer
42 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 ...
1
vote
0answers
26 views

How to call custom javacript in ui_component form?

Below is my field in Ui_component. <field name="received_amount" formElement="input"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="...
1
vote
0answers
24 views

Duplicate column position in products->category->Products in Category. Magento 2 ui components

Began to duplicate the column in the ui component 'position'. Haw to fix ?
0
votes
0answers
10 views

Magento2: Category selector design sends commas multiple time

I am creating a multi-select category field for admin side using ui-component my code for ui-component is <field name="category_id"> <argument name="data" xsi:type="array"> ...
0
votes
0answers
24 views

Magento 2 data Grid with UI Component,Why not require Resource Model

I am developing a Module which have functionality to display,add,edit data in Grid from custom table. I have inserted some data in table manually and with the help of di.xml and ui component xml,data ...
1
vote
2answers
62 views

Status not shown label in admin grid in magento 2

shippingbar_post_listing.xml <column name="status"> <argument name="data" xsi:type="array"> <item name="options" xsi:type="object">CM\Shippingbar\Model\Status<...
0
votes
0answers
51 views

How to Remove <uiComponent> Tag

Is it possible to remove this tag which was declared in another extension? <referenceContainer name="content"> <uiComponent name="library_authors_list"/> </referenceContainer> ...
0
votes
1answer
53 views

Magento2 Admin UI Component: On fileUploader ajax completion in ui component, how can I reload the page it is on?

I have a grid that just shows a collection of a specific table. below is a file upload component that I want to use for CSV upload, that will replace all old collection. Image reference is below: ...
0
votes
0answers
24 views

How to create Modal in adminhtml Grid. Magento2

I want to make PoP-Up Modal in adminhtml in like the core I also write the address of the this pop-up in the image while in the other image when I click on the Check Offer button as shown in the ...