Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Denotes questions regarding Magento Ui Components
7
votes
Accepted
Add html attribute in checkout street address
You can do this by overriding the input template in your theme. Create the file <theme_dir>/Magento_Ui/web/templates/form/element/input.html with this contents:
<input class="input-text" type="text" …
1
vote
Accepted
How do you populate a Magento_UI dynamicRows element?
Your <form> element seems to be missing it's configuration. You should have something like this:
<argument name="data" xsi:type="array">
<item name="js_config" xsi:type="array">
…
2
votes
Change Label in uiComponent depending on Create/Edit mode
In your DataProvider class (AppFactory\Basic\Model\SlidesDataProvider in your case), add \Magento\Framework\App\RequestInterface as a dependency by adding it to the constructor:
protected $request
p …
4
votes
1
answer
7k
views
Field comments in ui_component form [duplicate]
How do you create comments for fields in a ui_component form?
I can do it like this when building the form with php:
$fieldset->addField(
'url',
'text',
[
…
1
vote
Magento 2: Where does M2 create its aliases? uiComponent, in particular?
The one with uiComponent can be found in the Magento_Ui module : https://github.com/magento/magento2/blob/develop/app/code/Magento/Ui/view/base/requirejs-config.js …
1
vote
Magento 2: Are there Downsides to Omitting the `new` Keyword for Magento's Javascript Objects?
I think the answer lies in UiClass which UiElement extends from: \vendor\magento\module-ui\view\base\web\js\lib\core\class.js.
/**
* Creates constructor function which allows
* initialization witho …
3
votes
Accepted
Magento 2.1.2 Ui- Component formElement select from multiple dropdowns
Here's a way to do it by making a custom ui component. It requires the backing field to be a varchar.
Define the ui component in Your_Module/view/base/web/js/form/element/time.js:
define([
'Mage …
24
votes
Accepted
How can I extend a Ui component JavaScript in Magento 2?
This can be accomplished using a requirejs "mixin".
First create Your_Module/view/base/requirejs-config.js with this code:
var config = {
'config': {
'mixins': {
'Magento_Ui/ …
19
votes
Accepted
Magento 2 : How to Detect Checkout Step Change
You can register a handle for when the hash code changes, i.e. $(window).hashchange(callBack).
This is what happens in Magento_Checkout/view/frontend/web/js/view/progress-bar.js:
$(window).hashchang …