Skip to main content

Questions tagged [dependent-fields]

Filter by
Sorted by
Tagged with
1 vote
1 answer
266 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 ...
Denis Spalenza's user avatar
0 votes
1 answer
388 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://...
sandip's user avatar
  • 4,054
3 votes
2 answers
5k 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 ...
Rohan Hapani's user avatar
  • 17.5k
1 vote
1 answer
696 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 ...
Divya Sekar's user avatar
  • 1,295
4 votes
0 answers
486 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 ...
Parth Brahmbhatt's user avatar
2 votes
0 answers
2k 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 ...
Jancy Abraham's user avatar
2 votes
1 answer
1k 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 <?...
Nismath vi's user avatar
1 vote
1 answer
189 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( '...
Denish Vachhani's user avatar