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 [ui]

The tag has no usage guidance.

1
vote
1answer
20 views

Add a new section in product edit page

I want to add a new section in product edit form with form element(file uploader) for that I created the product_form.xml and added the required fields.to get the input data, I use a ...
1
vote
1answer
38 views

Magento 2 : How to put custom text in form validation?

I have this message when i validate post code How to change it? I tried overriding postcode-validator.js define([ 'jquery', 'mageUtils', 'Magento_Ui/js/model/messageList'], function ($, utils, ...
1
vote
1answer
30 views

Magento 2 Debug Ui Grid

i create my custom UI Grid, then i have next problem, my grid is infinity load. Can someone recomend me, how can i debug my problem?
0
votes
1answer
19 views

How to hide Select from gallery button in Ui Component Form Magento 2

I have create A Image upload field Using UI Component. Now I want to Hide or Delete Button. Any help would be appreciated.
0
votes
2answers
51 views

Change the width of Field Ui Component Magento 2

How do i change Field With in UI Component Form in Admin Side. I used id to change the width but didn't worked. <field name="percentage"> <argument name="data" xsi:type="array"> ...
0
votes
2answers
26 views

How to hide particular admin form field(UI Component) based on the value of select field?

I used the following script to hide/show 'schedule_date' based on select field option change, and it is working fine. But I want to hide/display the fields without changing the select field options. ...
0
votes
1answer
16 views

Magento 2 ui multi-select preselected values

I am new at Magento 2, UI multi-select component render store views group by websites and stores, but when I am editing I need saved values of store views of certain record to be preselected in that ...
0
votes
1answer
47 views

Magento 2.3 UI MULTISELECT

I am having problems with dynamic display store views which are grouped by their website and having selected values if I am editing existing data. What I achieved, displaying store views, and saving ...
0
votes
0answers
70 views

How to add radio button in custom option in magento2

I want to add radio button in custom option . I refer this link Magento2 adding radio buttons in customoptions. But not working. If anything i want to chage it. Thanks.
0
votes
1answer
21 views

custom less not working in magento 2 production mode

I've a less file inside app/design/frontend//web/css/source/_test.less and included in default.xml like <head> <css src="css/source/_test.css" /> </head> It's working perfectly ...
1
vote
1answer
67 views

How can i filter in sales order grid magento 2?

While i am using same code for filter it's working but i have break other grid like customer,invoice,cms page and get error "Not registered handle cms_page_listing_data_source" While i have moved di....
1
vote
1answer
149 views

load product grid ui component

I want to load the product grid via an ui_component. <fieldset name="fieldset_name"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> ...
1
vote
0answers
46 views

Magento 2: Custom input field values not saved in product form

I have to add a more complex input to the product form. For this, I have added the following UI configuration <fieldset name="fieldset_name"> <argument name="data" xsi:type="array"> ...
0
votes
2answers
48 views

Magento 2: Remove ReferenceBlock - Order Information

How to find referenceBlock name? Been searching for internet about it but nothing better works aside from some referenceblock that already ask. Got this problem, I need to move or remove this ...
1
vote
1answer
104 views

Magento2 override module-ui base admin template file?

i want to override following file in my custom module so that when magento admin sales grid renders this template from vendor it would take file from my module: vendor\magento\module-ui\view\base\web\...
0
votes
1answer
157 views

Magento 2.2 some JS files are not loading in production mode

In Magento 2.2.2 when setting website into production mode the following files are not loading, due to which my store switcher and other ui functions are not working in production mode: http://...
4
votes
4answers
533 views

How to create menu section title in adminhtml?

I want to add section (menu items group) into adminhtml menu in Magento 2. Something like this: I've added file ./etc/adminhtml/menu.xml with: <?xml version="1.0"?> <config xmlns:xsi="http:/...
0
votes
1answer
93 views

Magento2: How to correctly render a json in grid field

I created a field in my order grid table, I have an observer set up that will fill the field with a JSON string of the ordered items. I want to have this field rendered to HTML so the ordered items ...
4
votes
1answer
330 views

How can i remove Vat Number field in customer address form admin?

I want to remove Vat Number field in customer address form in admin.Anyone have any idea?
0
votes
2answers
704 views

Magento 2. Grid Action column link open in new window

I've successfully created an admin grid using ui components. I've successfully added an actions column with a link. The link works but I want it to open in a new window or tab. excerpt from ...
1
vote
0answers
45 views

How do I edit KO template in magento 2

I wish to edit /var/www/html/xxx/vendor/magento/module-checkout/view/frontend/web/template/payment-methods/list.html Exactly in below line, Because which is the responsible file to render the ...
0
votes
2answers
35 views

How can I editable false description or sort description magento 2?

I have try but it is not working for me any have idea about this? <fieldset name="content"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> ...
0
votes
1answer
264 views

How can i remove product tab in admin magento 2?

I want to remove configuration, design, search engine optimization tab. any have idea how it done?
3
votes
1answer
2k views

Magento 2 Grid custom column value in Ui Listing

I followed this link How to display Yes/No values in admin grid (Magento2)? to get the dynamic custom column value where the column field in grid was app/code/Vendor/Theme/view/adminhtml/...
2
votes
1answer
50 views

How to add 2 input fields in one row using UI component

I want to add 2 inputs field in one row using the UI component in my custom module. The field is about telephone so I want to have 2 textboxes, 1 asking for country code and another asking for a ...
0
votes
0answers
144 views

How to change product enable checkbox to keep disabled by default Magento 2

How do you change the Magento 2 product Enable button to Disabled by default? My code var inputs = document.getElementsByTagName('input'); for(var i = 0; i<inputs.length; i++){ if(typeof ...
3
votes
1answer
78 views

component in magento2?

How to pass dynamic value for <item name="componentDisabled" xsi:type="boolean">false</item> this component. <?xml version="1.0" encoding="UTF-8"?> <listing xmlns:xsi="http://...
1
vote
0answers
167 views

Magento 2 disable file preview in admin form

I created grid form using UI component. In my UI form I use file uploader. How can I disable image preview? Because I upload pdf file and preview are showing blank square. My form field <field ...
6
votes
1answer
646 views

Magento 2 Extend Ui DataProvider file

I have created a module. All working fine. Just want to extend one file but can't success. I added extra field at admin tier price using this file. \Magento\Catalog\Ui\DataProvider\Product\Form\...
1
vote
0answers
43 views

How to disable the draggable image feature from product add/edit in admin area magento 2

I am trying to disable the draggable feature so I can keep the position as it is. Also trying to implement the position input into img-dialog-tmpl but it not saving the values. disabled the draggable ...
0
votes
1answer
319 views

Force page rendering after new HTML is loaded by AJAX

I have a 3rd party extension for layered navigation in Magento 2.2.1. Products listing is repainted (using ajax) after customer changed the navigation filter (categories) There is some visual error ...
2
votes
1answer
309 views

I have updated jQuery & jQuery UI to: jquery-1.9.0.min.js and jquery-ui-1.9.2.min.js

I have just updated jQuery & jQuery UI to: jquery-1.9.0.min.js and jquery-ui-1.9.2.min.js And... all my unobtrusive Ajax calls (Ajax.ActionLink, Ajax.BeginForm) stopped working properly -...
1
vote
1answer
63 views

Getting data fom UI form

I have the following question: how can I get data from UI form directly to controller? I saw some ways to save data with button's features, but I don't understand it clearly and I also want to control ...
1
vote
1answer
309 views

Remove ui-menu-icon from main navigation

I am trying to find where this menu Icon is generated in the magento system. I would like to remove it. This menu is generated based on my product categories. When its clicked it shifts the word ...
1
vote
3answers
3k views

Magento 2, Cannot read property 'ui' of undefined

I don't get why adding my custom js file causes below issue. Please help understand the cause. Let me know if more details should be provided here. Is it dependency issue? edit: My requirejs-config....
1
vote
0answers
64 views

Why does Magento 2 use <span> in buttons

This is probably something I should know, so excuse the question, but why does Magento use inside buttons, and especially inside the checkout it binds the data (which I understand why but not why it ...
1
vote
1answer
2k views

How to use Renderer in UI Component in Magento 2

In my custom module grid i have to use custom grid column which render a field and create custom html content how to implement it in Magento 2
0
votes
1answer
797 views

Magento 2: How to show the number of cart items in a custom block

The easiest way to show the number of cart items in a block would be via PHP, but that would mean disabling caching for the block (and hence the entire page) Does anyone know how to display the cart ...
1
vote
1answer
1k views

Magento 2: Set all option selected in multiselect UI form?

<field name="customer_group"> <argument name="data" xsi:type="array"> <item name="options" xsi:type="object">Magento\Customer\Model\ResourceModel\Group\Collection</...