Questions tagged [toggle]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
245 views

Toggle a field visibility inside a dynamic rows ui-component

I have a dynamic field ui-component inside an admin form that contains a few columns. And I also have a toggle field outside the dynamic rows. I want to show/hide a column inside the dynamic fields ...
  • 196k
0 votes
1 answer
388 views

Magento 2 Frontend Toggle Button - Show Hide Content - Options

How can I achieve on Magento 2 Frontend show a toggle button which will show/hide a custom option text area for user to fill in?
1 vote
1 answer
1k views

Magento2: Toggle button yes/no to enable/disable module function in shipment method/

For the new shipment method, I created a toggle button yes/no to enable/disable module function. But the issue is while selecting yes or no module unable to work in that button function. please check ...
  • 171
1 vote
1 answer
2k views

Magento2: how to create Toggle button yes/no in admin side

here I created a new payment method and want to change the current dropdown option into toggle yes/no button. please check the below code and images. Packt/Shipme/etc/adminhtml/system.xml <?xml ...
  • 171
1 vote
4 answers
2k views

Magento2: Create toggle button yes/no in admin product page

I want to create a toggle button yes/no in the product or category admin side page. also eager to know its description of flow and binding process. I followed many tutorials but don't get the exact ...
  • 171
7 votes
3 answers
3k views

How to hide fields with toggle checkbox in ui_component Magento 2

I have a toggle checkbox at product edit form: Created as: <field name="open_amount" formElement="checkbox"> <argument name="data" xsi:type="array"> &...
  • 1,561
2 votes
1 answer
872 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="...
  • 704