Skip to content

Magento 2: Cart price rule Actions dynamically add text field using UI Components

I have need to add dynamic text field in cart price rule edit section. when click on Add button text field should be added. And save data in salesrule table.

I have created one field in salesrule table for save data. Need to implement Add multiple text field in cart price rule using UI Components when click on Add button.

I have checked but we can do this thing in system.xml but I need to do in UI Components for cart price rule action section.

Admin Path:
Admin > Marketing > Promotions > Cart Price Rules > Edit > Actions

enter image description here