Questions tagged [dependent-fields]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

How to add a dependency (if there is no data in the field) to a widget parameter?

I know how to make a dependency in a widget for another field if there is data there. Example: <depends> <group_type> <value>leadership_trait</value> </...
user avatar
0 votes
0 answers
48 views

magento 2 dependent dynamic rows

On my system.xml file I have a dynamic row type field. Each row has two dropdowns. The first dropdown lists all available countries and this works fine. My problem is the second dropdown: it should ...
user avatar
  • 129
1 vote
1 answer
83 views

Problem for create dependency between Custom Fields and Customer Group Id field in customer form UI component

I created a new extension that add more fields to customer to control sales reps users. The fields and data are working as expected. But I want make the new fields be hide or disable for some customer ...
user avatar
0 votes
1 answer
147 views

Magento 2: Show each time different comment depends on Field option value in system.xml

Currently, using the below code in the system.xml Does anyone have a more efficient way (using only one Field or some other way) to do this? <?xml version="1.0"?> <config xmlns:xsi="http://...
user avatar
  • 3,572
3 votes
2 answers
3k views

Magento 2 : Add Filter in select ui form field

In ui form, I set 2 dropdown field. Now, I want to do something like that in second dropdown value set based on first dropdown selected value. For ex : In Customer module, There are country region ...
user avatar
  • 16.5k
1 vote
1 answer
395 views

how to make ui-component onload dependency field in admin

how to make ui-component onload dependency field in admin In magento 2, admin ui-component form i created some dependency field on value change handler. its working well but when edit the form ...
user avatar
  • 1,389
4 votes
0 answers
309 views

Show/Hide dependent attribute field on toggle attribute field of product add/edit admin form into Magenot 2

As per the requirement, I have created 2 product attribute into magento 2 admin. First attribute is toggle(Yes/No) attribute and Second is Text attribute which is dependent on First attribute. Now I ...
user avatar
2 votes
0 answers
1k views

Magento 2 Admin Ui form fieldset dependency

I have created a UI form in admin. I have one select field which has some options.For some values I want to hide a fieldset in the form. How can I achieve it. Referred this link magento 2.1 How do ...
user avatar
1 vote
1 answer
671 views

Dependable fields in custom widget

I have created a custom widget having Title and dropdown field and image chooser. I wish to add dependable fields.the image uploading field is visible according with drop down menu. widget.xml <?...
user avatar
1 vote
1 answer
126 views

Multiselect Dependent Field Custom Module

I have two Multi select Drop downs admin. i tried to make it dependent but not success. Below is code :- Multiselect 1:- $fieldset->addField('mainfiled_id', 'multiselect', array( '...
user avatar