4

I need add dynamic rows field to my custom widget, which should have three columns: title(text field), color(select field), url(text field). There should also be an add button, and delete buttons for each row. If possible, it would be nice to be able to swap lines. I suppose in widget.xml I have to declare a block type and specify a class, but I don’t understand how the code of this class should look.

2
  • did you achieved?? Commented Apr 7, 2020 at 17:09
  • unfortunately no( Commented Apr 17, 2020 at 14:41

1 Answer 1

1

i have used @bbakalov's module from github and it works: https://github.com/bbakalov/Bss_DynamicRows

Hope it serves you!

Update: i have been ansered to my question, which was to add dynamic rows with block (not Ui Components): Add dynamic rows (No UI Component) block, into the custom widget

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.