Monthly Archives: Tháng Bảy 2019

Create a repeatable configuration field in Magento 2

Sometime you want a configuration field to have multiple value, and you want to make it easy for administrators to input instead of separating values by delimiter like commas. You can use frontend_model to make a repeatable field For example in system.xml you can do like this And override the function _prepareToRender And in configuration […]