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

Denotes questions regarding Magento Ui Element

2
votes
0answers
37 views

Move Elements on Magento 2 Product Page

I have the Porto Theme installed on my website using Magento 2.2.5. I would like to move a couple of Elements on the Product page but only for specific products. I have attached a screenshot of how ...
0
votes
0answers
64 views

Magento 2 Checkout - How to replace labels with placeholders

In the Magento 2 Checkout, i need to replace the form input labels (Firstname, Lastname, City etc) with placeholders (text that will show inside the input box). I found this solution https://...
1
vote
0answers
59 views

Change the size of the column in product detail page

I am using Magento 2.2.4. I need to change the size of the column for product description under the id="maincontent". I need to make it 70% of the width and align center. I am writing a custom theme ...
1
vote
1answer
162 views

Which one of the elements automatically render all it's children in layout (m2)

automatically render all it's children <layout> <container> <block> <action> I feel like i've tried several now and they're not working for me. any of them. ugghhhh
1
vote
0answers
44 views

How to use renderer grid in magento2?

I've developed a custom module for magento1.9 , I'm doing the same for magento2 I'm able to have just a grid in admin page, also I have a form in admin page but I'm a bit stopped as I can't understand ...
1
vote
1answer
462 views

FileUploader.js throws TypeError: postData.data.set is not a function in Safari

In my custom form I use the file uploader element: <field name="image"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> <...
14
votes
1answer
483 views

Magento 2.1 Ui Component form field Token input

I want to add tags in an input field , in a similar fashion as it is done in product form to add catageories - which is show in the image below. This much task I have achieved by adding field ...
5
votes
3answers
1k views

Magento 2: How can I get the parent UI Element?

I have a UI Element that has children. Is it possible for one UI Element to get the instantiated parent element? I know there is a property called parentName, but that simply returns a string. ...
0
votes
1answer
835 views

Magento 2 Mass Product Action module (append text to products name , update price…)

Hi magenticians I need the code of the module magento 2 which allows to add mass action (append text to products name , update price....) I am blocked help me plz
1
vote
1answer
117 views

Filter is not display after custome product_listing.xml

I am trying to add new column in magento 2.1.3 admin -> Catalog -> Product grid I used following code to display sale column in product grid <?xml version="1.0" encoding="UTF-8"?> <!...
1
vote
2answers
139 views

Magento 2: Are there Downsides to Omitting the `new` Keyword for Magento's Javascript Objects?

I've just discovered that Magento 2's UI Component javascript constructor functions are built in such a way that they (seem to?) behave the same with, and without, the new keyword; UiElement = ...
3
votes
0answers
143 views

What does the “initUnique” Method setup in uiElement Objects?

In Magento 2's uiElement objects, one of the initialization methods is named initUnique initialize: function () { this._super() .initObservable() .initModules() ....
0
votes
1answer
225 views

Magento 2: Are uiClass/uiElement Imports/Exports order sensitive?

Magento's uiClass/uiElement objects have a feature that allow them, at the time of instantiation, to populate a property of their own (imports) from a uiRegistry registered object, or populate a ...
8
votes
1answer
1k views

What Are the Import/Exports `defaults` for in a uiElement Object?

In many of Magento 2's UI Element view model constructors, the defaults array will have an imports or exports property. return Collection.extend({ defaults: { //... imports: { ...