Stack Exchange Network

Stack Exchange network consists of 174 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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Denotes questions regarding Magento Ui Components

3
votes
1answer
42 views

Form Ui Component doesn't submit field in the html content

I built a ui component form and it's a compilation of <field> tag and <htmlContent> tag. This is the htmlContent : <htmlContent name="resource"> <block class="Namespace\...
1
vote
1answer
17 views

Magento 2: Customer data from JS component

I need to get customer status in JS component - authenticated or anonymous. Could I get it using Magento_Customer/js/customer-data and how? define([ 'Magento_Customer/js/customer-data' ], ...
3
votes
1answer
29 views

Magento2 What is the difference between uiCollection and uiComponent

Refer to the file - vendor\magento\module-ui\view\base\requirejs-config.js You will see code in map like - uiCollection: 'Magento_Ui/js/lib/core/collection', uiComponent: 'Magento_Ui/js/lib/...
0
votes
1answer
28 views

UI Component date display wrong in magento2?

When i updating date using inline edit in magento2: Actual date: Db Save: Grid Display After Save: why it display one prev date? How can i resolve it?
0
votes
0answers
16 views

Magento 2. Ui component increase input size

I have a ui-component generated form. Inside the form a datetime input is generated. The value shown is truncated because the value is bigger than the input. This is my input definition <field ...
0
votes
0answers
14 views

How to create form filed with note in admin grid with ui component in magento2?

I want to create form text filed with note using Magento 2 with UI-component:
0
votes
2answers
17 views

Overwriting the uploaded files with same name in ui-component forms

I have a UI-component form for admin which has a field to upload image/file. The file uploading is working all right, after saving the form the name of the image is saved in the database. The issue ...
0
votes
0answers
11 views

Open Modal in ActionsColumn

I have a grid in admin product form. In actionColumns there is a action to edit the row of grid. I would like to open modal when click in the edit. All examples redirect to other page. Thanks
1
vote
1answer
55 views

How to make column sorting false using Ui Component in magento2?

I want to make sorting false for donloaded column : <column name="downloaded" class="Tatva\Subscription\Ui\Component\Listing\Column\Downloadedrenderer"> <argument name="data" xsi:type="...
0
votes
0answers
31 views

How to add custom column in admin grid which are not in database using ui compont in magento2?

How to add custom column in admin grid which are not in database using ui compont in magento2
1
vote
0answers
21 views

extend “private method” in a define module via mixin

Let's say we have a class that returns a Magento uiComponent, that I want to extend (original.js) /* file name: original.js */ define(['uiComponent'],function(Component){ 'use strict'; //here'...
0
votes
1answer
30 views

Magento 2 : Is there a way to customize the labels of an admin form toggle?

For admin form UI checkbox components that use the 'toggle' (like Catalog > Product > [product record] > Enabled) - I can see a few references to the UI component configuration using: <field name="...
1
vote
0answers
20 views

Multiselectbox for custom table in Product-Edit Page not displaying Selected values. in Magento 2.5

I have created a multi-selectbox using Ui component and getting data from a model to display in Option-fields. Data is saving in my custom table. but when i click on the same product to edit, the ...
0
votes
0answers
10 views

How can we add Catalog rule only for category in custom UiForm in admin

How can we add Catalog rule only for category in custom UiForm in admin like below I want only this like image in my Uiform. Please help
3
votes
0answers
45 views

mageInit KO binding not working for a custom jQuery widget

I can't get the mageInit binding to work on a custom jQuery widget which I have created. I have used it in my KO template like: <div data-bind="mageInit: {'mywidget':{'configuration-value':true}"&...
0
votes
0answers
13 views

How to create system configuration layout view in UI-component Form

I want to Create System configuration Layout in Ui_Component Form; Like I want Some Tabs in left side and they Collapsible Fieldset in Right of UI_Component Form. If anyone has worked with this ...
1
vote
0answers
21 views

How to get the selected Order(s) so i can use them for building a form in custom grid?

I am new to Magento and development in in general. I am working on a custom module. I did some tutorials and a lot of searching to help me get where i am. But now I have the feeling I am lost ...
0
votes
1answer
22 views

Field labels missing from UI component form

I'm struggling to figure out what's wrong with this form I've created. The form is displayed and data from the data source appears as it should but there are no labels next to the fields. I've been ...
3
votes
1answer
112 views

Magento2 Wishlist observable subscribe

I have this issue with the wishlist observable, I try to use the .subscribe function on it to check when the observable is changed but I keep getting wishlistObs is undefined what am I doing wrong ? ...
2
votes
0answers
17 views

Custom Module for Custom Column using Plugin Yes/No option

I have been digging all day trying to figure out a way to enable/disable the plugins of my custom module with system configuration yes/no. Basically, I have a custom module that adds the Company ...
5
votes
1answer
56 views

magento 2 UI Component form Character Limit Validation

How to create custom Validation for UI Component Form? I want to create Validation for maximum character, not for max-word which is already available in Magento 2. if any body knows please share the ...
0
votes
0answers
27 views

Magento2: How to create a Ui Component Form in the storefront

I am trying to create a form using Ui Components in the storefront. For that I have created the following: A Layout: that I used to call the Form Component. <!-- magento/app/code/Vendor/...
0
votes
0answers
9 views

How to add an add more button on ui component form

I am having two fields, i want to add a button on the side of this field. On clicking on the button i want the full row (1 textbox, 1 dropdown and add more button) to be copied on next line. Same will ...
0
votes
1answer
10 views

Create a search filiter textbox on admin page

I am using the https://webkul.com/blog/add-ui-select-with-search-filter-admin-form-magento2/ to create a search filter but what I was expecting was I am getting is this, No search area.
0
votes
0answers
18 views

Magento 2.2.5: How to create dropdownlist in Ui-component

As i said in the post, i wanna know how to create a dropdownlist in ui component, or atleast i need to know how the dropdownlist work, for example, in C:\xampp\htdocs\magento\vendor\magento\module-...
0
votes
1answer
49 views

how to clear selected Value form Custom UI Component select(Dropdown)

Custom ui component select(Dropdown) < select class="admin__control-select" data-bind=" event:{ change: selectOptionCategory(uid)}, attr: { name: inputName, id: ...
1
vote
1answer
66 views

How can I remove the Select All option from drop down in the Magento 2 admin product grid?

I want to remove the Select All option from the drop down in the Magento 2 admin product grid.
0
votes
1answer
30 views

Magento 2.2.5: Ui-component render wrong position

i'm doing rendering students to magento admin page using ui-component after this course https://www.youtube.com/watch?v=qeIjXiAI5JY&index=3&list=PL98CDCbI3TNvvb0SvN_M35IToppFCHGg3. And its ...
0
votes
0answers
11 views

Magento 2: Hide Admin Attributes Based on other Attribute's Value

I've created some custom yes/no Customer Attributes in the admin area. Now I'm looking to hide some attribute fields if these are set to no For example, I have a yes/no attribute called ...
0
votes
0answers
16 views

Get text field value Ui Component

So I have a text field created by Ui Component in backend, I want to get value of that text field by event update, like select component in this thread But I still cant figure out how to do it. Any ...
2
votes
0answers
29 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
0answers
19 views

How to trigger Admin Backend UiComponent Modal Implementation

I have modal configured in my listing page xml as below <listing> .... <modal name="dispatch_email_modal"> <argument name="data" xsi:type="array"> <...
0
votes
1answer
25 views

How to assign ID attribute to UI form element component?

For example, I have a simple admin UI form with one text input field: <field name="my_text" formElement="input"> <settings> <dataType>text</dataType> <...
0
votes
0answers
10 views

How to Implement auto text box with multi select in Magento 2 admin?

I am new Magento 2.2.3. I want to implement a select box with multi select option and search filter. I am able to see multi select option but there is no search box to type. Please help me. Any ...
0
votes
1answer
32 views

How to add Upload Button for importing a csv file in the Custom Admin Grid Container in magento 2?

I wish to add import button in my custom admin grid using ui component, in magento 2. To add this import button which type of grid is better ? ui component grid or php grid. Note : We can fill ...
0
votes
1answer
20 views

Creating admin grid for custom eav model using ui component

I have created a UI component to represent the data in my custom eav model. But it didn't work at all. The spinning animation didn't disappear and my page looks like this I checked all the log file ...
3
votes
0answers
33 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
1answer
25 views

system settings withing Ui Component Form

I want to show a certain text (that is set with a configuration setting from system.xml) within my UI component Form. The UI component is used in the frontend. Do i provide it with a DataProvider? ...
0
votes
1answer
7 views

How to find possible config settings for UI Components

For the UI components, I see nodes for data/config and data/js_config. It seems like a lot of components have this option. How do I find the possible values available to be set for each component? Is ...
3
votes
1answer
61 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?
1
vote
0answers
11 views

When trying to add Tab in sales I get this error

This is my Ui component code: <?xml version="1.0" encoding="UTF-8"?> <listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:...
1
vote
0answers
23 views

In Magento2, how to get checked checkboxes values in uicomponent grid in frontend?

I have added grid using uicomponent in Magento 2 frontend, to list related products. grid is showing fine but now i want to get checked checkboxes values (in any hidden input if possible) to send that ...
0
votes
0answers
25 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. ...
1
vote
0answers
42 views

Grid Serializer Magento 2.2 In product edit page - adminhtml

module.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Module/etc/module....
0
votes
1answer
27 views

How to unselect a multiselect field in my custom modul edit page?

I have added a multiselect field to a fieldset in my form.xml. <column name="ghs_pictogram_id"> <argument name="data" xsi:type="array"> <item name="options" ...
0
votes
4answers
211 views

Magento 2: call helper function in ui component form

In my form.xml, I have used below code to show input field <field name="price"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> ...
1
vote
1answer
41 views

Form admin difference between formFactory and XML

I'm new in Magento 2 and I couldn't figure out what is the difference in doing a admin form module in PHP, calling a class and then using formFactory to create the form: <referenceContainer name="...
2
votes
1answer
69 views

Column value display wrong when export CSV in magento 2 admin UI component grid in magento 2

In my custom module admin UI component data grid there is a one column is named "Status" all data display perfectly. But my problem is when i export data then "Status" column value display 0 OR 1 ...
0
votes
1answer
17 views

How to conditionally disable cart sidebar components

I want to disable a UI component conditionally in the cart sidebar. I could do it as follows: <?xml version="1.0"?> <!-- /** * Copyright © 2013-2017 Magento, Inc. All rights reserved. * ...
0
votes
0answers
22 views

Magento 2 display sum of 2 column value of same record

I am creating grid using ui component. I'm creating it successfully. But i want to display sum of two column in single field something like, I have 2 column (stotal , rtotal), so i want to display ...