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
12 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
33 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
71 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
0
votes
1answer
21 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
70 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
30 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
20 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
18 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
21 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
33 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
25 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
8 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
18 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
60 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
38 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
30 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
17 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 ...
1
vote
2answers
33 views

Magento 2 Ui Form field dependency

Just for learning I've following fields in my Admin Product edit form <field name="gender"> <argument name="data" xsi:type="array"> <item name="options" ...
1
vote
2answers
29 views

How to show all data in Grid in Descending Order. Magento 2

I'm getting data in Grid in Ascending Order But I want this data in Descending order how can I set this??? My mycode_listing.xml is <?xml version="1.0" encoding="UTF-8"?> <listing xmlns:xsi=...
0
votes
0answers
18 views

How disable button on Form in Magento 2

I want to disable the button Vender/Module/Block/Adminhtml/Module/Edit/RejectButton namespace Vender\Module\Block\Adminhtml\MakeAnOffer\Edit; use Magento\Framework\View\Element\UiComponent\Control\...
0
votes
0answers
19 views

Magento 2 : Custom Dynamic Option with Fileuploader Fields in UI_Component

T have Work on Dynamic Option that contain file-upload field and i want to save dynamic option with file in magento 2. Here we can see Option with Dynamic Option that contain file field. What the ...
2
votes
1answer
18 views

how to create more then one submit_url in ui_component Magento 2

I need to submit data from ui_component to another class so I created two buttons and on one I set the submit_url and works perfectly but in other class I cannot get the data to perform some ...
0
votes
0answers
15 views

can we create more the one submit_url in ui_component in Magento 2

in my ui_componentI have the code <?xml version="1.0" encoding="UTF-8"?> <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:...
0
votes
0answers
19 views

How to get Data of the product without using submit_url in adminhtml. Magento2

I'm want to get data from the grid specific of the specific product when I click on the Accept Button (name of accept button is save) it goes to submit_url and get the data of the product while when I ...
0
votes
2answers
50 views

Magento 2 UI Component

I need to customize admin grid which is in Content->Pages. What is the correct way to add new feature/customize to the admin grid? Suppose in the above-mentioned grid, I need to change the "Add ...
1
vote
1answer
21 views

Magento 2.3 : single checkbox not selected in massStatus

I created ui grid in my custom module. But, When I select single checkbox for massStatus at that time, it will select all checkbox instead of single checkbox. This is my vendor_module_entity_listing....
0
votes
0answers
5 views

How to create a pop-up on click button in Ui-Component in Magento 2

I want to create the PoP-Up in place of UI component extra page Like I can show in image and after clicking Click Offer a new page opens now as you guys can see in second image the data of the ...
2
votes
1answer
36 views

How to pass data from UI Form to PHP Class

I have created a form using UI component, This form has a select dropdown which displays option related to current entity id if form is in edit mode and all options if a new entity is being added by ...
0
votes
0answers
13 views

Magento 2 Column search dependency in UI listing

Is there a way to make some listing select in filter to depend on some other select? I have seen this done on frontend checkout but that's a form not a list. The idea is to make two columns ...
3
votes
0answers
39 views

Magento 2 - Product edit screen, missing category selection field entirely | How to debug?

At some point during development unknown; the category select field has gone missing from the product edit screen (on all product types). It's possible it happened during a partial update of content ...
3
votes
1answer
57 views

Manage Stock only option available is Yes

When I go to advanced inventory and want to set Manage Stock to No I only have the option Yes available. But why? I have no idea where to start debugging any clue would be appreciated or maybe ...
1
vote
0answers
14 views

magento 2 Ui Component Grids displays gone

I am working on Magento 2.2.6 .Each and every grid(Custom/Builtin) are acting strange the column names are gone and few of the grids are showing blank in action column. here I'm attaching a ...
0
votes
1answer
34 views

Add Country field in custom Checkout form in Magento2

I added new step on checkout and I created a form for this new step. How can I add Magento built-in Country drop down field and state/province drop down field to my custom checkout form?
3
votes
0answers
23 views

Loading Product Grid In UI Form But not able to post data to controller

load product grid ui component Am following this code its work fine and showing product grid in UI-component form but how can i post data from listing to controller with other fields in the form... ...
0
votes
1answer
25 views

How to remove header footer and left bar on ui component in magento 2

I want to just show the customer table on page and need to remove header footer and left bar as well.How i can achieve it.
0
votes
0answers
28 views

why admin grid not showing in front end in magento 2

i'm working on overriding admin ui filter in custom module https://belvg.com/blog/ui-grid-component-on-the-front-end-in-magento-2.html with referring this blog but only loading css files not ...
2
votes
0answers
23 views

how to call layout from UI component button?

I want to jump from one UI_COMPONENT to another UI_COMPONENT through layout file and hopefully passing URL in button This is my Ui_component file <?xml version="1.0" encoding="UTF-8"?> <...
2
votes
1answer
24 views

Saving Custom Option Field to Database Not Working

I have the below code in my custom module, at App/Code/Ibex/Options/Ui/DataProvider/Product/Form/Modifier/CustomOptions.php and added a "weight" column to catalog_product_option_type_value in the ...
1
vote
0answers
19 views

How to add admin custom module page (Button) in Magento 2?

Here I already created the button if ($this->_isAllowedAction('custom_Mpquotesystem::mpquotes')) { $this->buttonList->update( 'delete', 'label', ...
3
votes
1answer
57 views

Magento2 : How to show button in admin for custom module page?

I want to show the button in my custom module (admin page) but I am getting an error I want to add a button and how I add action process for that button i already tried this answer : (https://...
1
vote
0answers
24 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 ...
3
votes
1answer
32 views

Magento 2: How to save data in DB from admin through UI component?

I can not save the data in the database when editing the record, the data remains the same as it was before Ronis\Feedback\Api\Feedback\FeedbackInterface.php <?php namespace Ronis\Feedback\Api\...
1
vote
0answers
28 views

Magento 2 : How to display in “values” on edit form UI Component?

When I go back to the record editing page, all the inputs are empty, how do I drop values in those field from the database? <?xml version="1.0" encoding="UTF-8"?> <form xmlns:xsi="http://www....
0
votes
1answer
15 views

Image Uploader throws Uncaught type Error in Ui Component

I'm Using UI component to upload an image but it throws this error Fatal error: Uncaught TypeError: Argument 2 passed to Magento\Framework\View\Element\UiComponentFactory::argumentsResolver() must ...
1
vote
1answer
23 views

How to post data when clicking custom ui component button?

I am using ui-component form edit and would like to add custom button "customButton" with all post data. However, it doesn't post any data except form key. My code $data = [ 'label' =&...
1
vote
0answers
18 views

How to solve ERR_TOO_MANY_REDIRECTS

I have made button New Comment as well as controller NewComment.php. When I try to redirect to controller I have ERR_TOO_MANY_REDIRECTS. This is my button block code: namespace Vendor\Module\Block\...
1
vote
1answer
17 views

change uiclass component rendering

I have a select in a Magento 2 template initialised using the uiClass with the code below: define([ 'Magento_Ui/js/form/element/select', 'jquery', 'domReady', ], function (Select, $) { ...