Questions tagged [uicomponent]

Denotes questions regarding Magento Ui Components

Filter by
Sorted by
Tagged with
0
votes
1answer
15 views

magento 2 Admin Change grid data based on the selected options via ajax

I have an admin form inside which I have added a dropdown and one grid with UI component I want to change the grid data or need to apply filers to grid collection based on the selected value inside ...
0
votes
1answer
34 views

Magento 2 - How to use XML uiComponent instead of text/x-magento-init?

I found an easy hello world example from Max Pronko which uses text/x-magento-init to define a uiComponent. MODULE/view/frontend/templates/script.phtml <div data-bind="scope: 'pronko-component'...
0
votes
0answers
25 views

how to apply last filters saved in custom bookmark in frontend UI Component listing?

I created listing using UI Component in frontend. I also created custom bookmark for saving the state of the UI Component because I want store it as a customer, because the default bookmark only save ...
0
votes
1answer
27 views

ui component modifier

I'm using Modifier class to disable some ui components on admin screen. But when I implemented modifyMeta() method, some of the needed ui components not included in the metadata array (eg: gallery) So ...
0
votes
2answers
26 views

Messages add product, removeAll

where is function to remove all messages (add or error)? I want to remove message one by one, now magento deletes all at once.
0
votes
1answer
23 views

Add a custom input from phtml in admin form

I'm using custom phtml to display some data in an admin Ui form tab, and I want to be able to have a custom input that would get sent to the controller when I hit 'save' ui_form.xml <fieldset name=...
0
votes
0answers
31 views

How modify UI Component Option values in custom modules

I have a base module which defines a UI Select component like so: <field name="type" formElement="select"> <settings> <dataType>text</...
0
votes
1answer
19 views

Magento 2: Adding a color picker as an attribute to a product form

Please tell me how you can add a color picker as an attribute to the product form. I tried several options from the Internet, well, they did not work.
3
votes
3answers
43 views

how to make Ui admin form field disable dynamically

I have ui componenet form i want to disable one field dynamically when add only. <field formElement="select" name="classification" sortOrder="40"> <...
0
votes
1answer
31 views

Magento2 : Form Edit UI_COMPONENT showing blank page

I am having a button in my ui_component that open page with form in it to save the data, everything I have done as follows but the page after click on the button is blank nothing showing: Router Files ...
0
votes
0answers
16 views

Magento 2 Filter admin grid with custom columns

I have a custom table that is assigned to multiple store so i do have another table for their relationship. my problem now is i want to filter my custom table by store in the admin grid. i was able to ...
0
votes
0answers
17 views

Add Selected Model Grid Item in Custom UI Component Form

I've refer the assign source code ui form and with same exact functionality i wanted to add my own store by selection. I've applied the same code but does not reflect the selected item in the dynamic ...
0
votes
1answer
44 views

Magento 2 Add New Category Description

I built a simple module to create another field for the category description. But I get an error: The attribute with a "added_category_description" attributeCode doesn't exist. Verify the ...
0
votes
0answers
30 views

Magento 2 UiComponent endless loop spinner

In this case I was trying to create a UI in admin page using UI Component. I got and endless spinner loop. Here is my code. view > adminhtml > layout > cscustomersupport_customer_index.xml &...
0
votes
0answers
14 views

Magento 2.3.5: custom item renderer for checkout review step (access template view model from within uiComponent)

I'm trying to build a custom item renderer intended to gather all configurable child items for an "user-friendlier" display. I finally did it for cart and minicart contexts, but I'm ...
0
votes
0answers
15 views

Hide Salse Order custom grid When module is disable in Magento 2

i have create a custom module for the employee data show in magento salse order and i have add column in salse order grid i have create grid using UI component So can anyone idea about that how can i ...
0
votes
0answers
12 views

Magento 2 : how can i check filter active or not in customer admin grid ui component?

in admin customer grid, i want to check if any filter active or not. if filter is not active data grid be empty, if filter is active then show data. how to do that ?
1
vote
1answer
63 views

Create filterable admin grid from external database table

As the title says - I am trying to create an admin grid from an external database-table. I was able to create one with an ui_component and some dirty tricks in my data provider - but the problem is, ...
1
vote
2answers
27 views

How to show specific orders in the order grid based on admin user?

I want to show orders which are assigned to the specific admin users. If any admin user is logged in then orders which are assigned to logged-in admin user will be displayed in an Order grid. Note: ...
1
vote
0answers
13 views

Show categories based on first dropdown values in admin form

I have added two components using Ui component in the admin form, the first one is a simple dropdown and the second one is a category selector I want to show the parent category and its subcategories ...
0
votes
0answers
8 views

Show category dropdown selected in admin edit form

I have added a category selector in my custom admin form using ui component I want to show the selected category as selected or highlighted in my edit form how can I do that? the category selector ...
0
votes
1answer
34 views

Add filter to custom grid created as ui_component

I rephrased my question and got it working (adding filters to a custom grid, that was made with a custom data provider). See question and answer here: Create filterable admin grid from external ...
0
votes
0answers
37 views

Custom Import a csv file Action in Admin Grid Form page?

I am trying to retrive the upload file on form submit in admin grid. In that I did not get the filepath because of the $model->getdata not able to find the path on line 123 in below code. <?php ...
1
vote
0answers
41 views

Magento2.3.5: Add note after custom attribute in product form fields

I need to display a message to admin in front of a custom product attribute. For example " Sync Inventory with P21" fields when yes,( it sync inventory) I need to display a message to admin ...
0
votes
0answers
16 views

Magento 2 need to add new component Form on checkout step shipping which appear on selected shipping Method

I have some issue to add a new form on shipping checkout step . Form visibilty depends of the selected shipping method. and on submitting shipping steps my form should be submitting and my data should ...
0
votes
1answer
33 views

Ui/Component using plugin in magento2

I get QA review as below: example/module-mymodule/UiC/DataProvider.php is too similar to the Magento 2 file magento/module-cms/magento-module-cms-103.0.0-beta32/Ui/Component/DataProvider.php Since ...
0
votes
0answers
14 views

Can i use UI-select component in a widget?

I'm attempting to use the UI-select component for the Category in a widget. I haven't had any luck finding a resource that shows it is possible. My question is if i can use UI-select component as ...
0
votes
0answers
21 views

Magento 2 in custom grid click action result redirect given object object

I have created my custom grid increment id is click to result in redirect sales order view page. But given the action return object object. file-path vender/module/view/adminhtml/ui_component/...
0
votes
1answer
15 views

Magento 2: How to Change fieldset accordion in product edit page to tab in backend?

I have a lot of product attribute set in the backend , and it is not convenient to scroll all the way down to edit product page information, How can i change the accordion in the product edit backend ...
0
votes
2answers
16 views

Magento 2.1.9 can't find save button class

I am trying to get a save button on a dynamic row field to fire but on loading a CMS page I get the following error: Class Brancom\PageExtensions\Block\Adminhtml\DynamicRows\Edit\SaveButton ...
0
votes
0answers
24 views

magento 2 how to override catalog_rule_form.xml

I want to add a custom action into catalog sales rule backend page, i add this xml in my custom module here is the xml <?xml version="1.0" encoding="UTF-8"?> <!-- /** * ...
0
votes
0answers
15 views

Magento 2 InsertForm component in to the UI form component

I would like to add form same as like admin customer edit Add new address form. So i have added InsertForm component inside the customer edit form using this reference link A form is displaying fine ...
0
votes
0answers
13 views

How to save ui component data in tabs

In my ui form I have added 2 ui form tabs (general and general1) To display the tabs I have added the layout code, and changed the dataprovider to display the data <layout> <...
2
votes
0answers
19 views

Add reply field to Review Form - Magento 2 (current version 2.3.5p1)

I have created the following: registration.php <?php \Magento\Framework\Component\ComponentRegistrar::register( \Magento\Framework\Component\ComponentRegistrar::MODULE, 'Vendor_NewField', ...
2
votes
1answer
23 views

`Selected` field is missing from the post request for the product grid mass action

I made a custom mass action for the product grid. This is the ui component part: <?xml version="1.0" encoding="UTF-8"?> <listing xmlns:xsi="http://www.w3.org/2001/...
0
votes
0answers
8 views

How we can add anothere ColumnsControls component in the Grid

How we can add another ColumnsControls component on the same grid with a different configurations. I have checked Dev Docs Magento But there isn't an understandable documentation how to add provider ...
0
votes
1answer
16 views

Checkboxset element in form - not posting values of Field

I have begun creating a custom form for magento, this form include the elemenet checkboxset as documented here... https://devdocs.magento.com/guides/v2.4/ui_comp_guide/components/ui-checkboxset.html ...
0
votes
0answers
9 views

UI component Field Valiation issue in Magento 2.1

I have create a field in magento 2.1 with integer validation. <item name="validation" xsi:type="array"> <item name="integer" xsi:type="...
0
votes
0answers
13 views

actionDelete not apears on my dynamicRow Ui component

i have written the below xml in my ui component <fieldset name="properties"> <argument name="data" xsi:type="array"> <item name=&...
1
vote
1answer
80 views

Add custom knockout component to checkout sidebar in Magento 2

I'd like to know what is the best approach to add a custom knockout component to the checkout sidebar in Magento 2, an example assuming we already have a custom module would be great UPDATE: As I ...
2
votes
0answers
26 views

Override a template of a uiComponent

I have overridden the template of a few uiComponents before, but this time whatever I attempt it doesn't work. Hopefully somebody has an idea what's going on. First off, I used the layoutProcessor to ...
0
votes
1answer
16 views

Where should DataProvider.php go?

I'm seeing examples of putting the DataProvider class in the following location: [YourNameSpace]\[YourModule]\Model\[ComponentName]\DataProvider However, the documentation makes me believe it should ...
0
votes
0answers
30 views

Magento 2: Html Content Form Not Posted Admin Ui Form

we are trying to create an admin UI From with Html content with Field Set, Html Content input fields are posted. what I did: Vendor/Module/view/adminhtml/ui_component/page_master_add_form.xml <...
0
votes
0answers
17 views

UI component select box on change event call ajax

How can I add an event when changes select box dropdown value and I will trigger Ajax when change value in the dropdown, Below are my code. <fieldset name="sample_fieldset"> <...
0
votes
0answers
9 views

Can I have a required field based on a condition?

I created a new EAV attribute for customer called "existing customer". it's a yes/no question. I have an option that comes up if the person clicks on 'no' called "what are you ...
0
votes
0answers
11 views

Parsing mass selection id from the product grid

I made a new item in the action list from the product grid. This is my file, ui_component/product_list.xml: <?xml version="1.0" encoding="UTF-8"?> <listing xmlns:xsi="...
0
votes
1answer
49 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.][1]][1] And in console it show "UI component could not be rendered because of ...
0
votes
0answers
22 views

Magento 2: How to get the Filters values from a grid

Before loading the grid, I want to get the filters so I can load the collection depending on the value of these filters. The thing is that I don't want the column From in my grid but I want it marked ...
2
votes
0answers
13 views

Magento 2 - uiComponent doesnt paginate properly neither export

I am trying to make a grid on the admin panel with a custom collection (custom dataSource). The problem I am facing is that it doesnt paginate properly (all records are in one page but the pagination ...
2
votes
1answer
31 views

What is meaning of Ui-Component tags in Magento 2

Please Explain me what is meaning of Below Ui-Componet tags :- 1.) <item name="config" xsi:type="array"> <item name="selectProvider" xsi:type="string&...

1
2 3 4 5
23