Skip to main content

Questions tagged [toggle]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
162 views

In Magento 2, Getting an issue with the toggle button where the status does not change when editing the admin grid form

I'm using toggle button in my admin form and saved successfully but when I am editing admin grid then toggle button status not changed according to status (true or false) Update: I have write the ...
raghav's user avatar
  • 38
0 votes
1 answer
208 views

How to make checkbox toggle in product edit form

I add attribute to special product like this $eavSetup->addAttribute( Product::ENTITY, 'dynamic_price', [ 'group' => 'Gift Card Information', '...
Nghia Hoang Trong's user avatar
1 vote
1 answer
1k 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 ...
Marius's user avatar
  • 198k
0 votes
1 answer
817 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?
Nikos Klavdianos's user avatar
1 vote
1 answer
2k 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 ...
irshad's user avatar
  • 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 ...
irshad's user avatar
  • 171
1 vote
4 answers
3k 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 ...
irshad's user avatar
  • 171
7 votes
3 answers
4k 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"> &...
Ajwad Syed's user avatar
  • 1,591
2 votes
1 answer
1k 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="...
dbcn's user avatar
  • 754