Example of Edit Dropdown
Hey'all, i'm currently looking for a UDropdown model to use in my table. the dropdown should have edit and delete options; edit should open the edit model declared on parent and delete should call delete function also on parent. I have few experience with nuxt3/composition api, how do you aproach this situations?
2 Replies
You'll need to use slots, like the example in the docs using the 'actions' column. https://ui.nuxt.com/components/table#column-data
my problem is the dropdown itself. i'm trying to figure out how to make it reusable
so i can open edit modal/delete of any future data with same dropdown