Open areyabhishek opened 3 years ago
IIUC, we need a component which can loop our action here. After that pretty much everything is straightforward. I dont see how a button group/ Menu button widget solve the problem
This is a classic example of using a list widget or giving the #4889 a data property. Closing this in favor of that
This issue is a bit different from button group widget. See message below on Discord with a similar use case.
Even GitHub uses one.
IIUC, we need a component which can loop our action here. After that pretty much everything is straightforward. I dont see how a button group/ Menu button widget solve the problem
"loop our action" oh! Yes! a looping widget generator would solve the problem in a more generic/reusable fashion.
Thank you all for the additional information! :)
@andrewdietekoki check this out, this may the improvement on our current button group dynamism behavior
Summary
I saw this request on reddit where a user wants to generate a list of buttons dynamically. See below.
Another adjacent idea: Generate list of items from an API response inside a menu button
Front conversations