After numerous failed attempts to find the specific solution I need, it seems that my search has been in vain. Nevertheless, here is the query:
Imagine I have an array of objects containing a title field and an input type field, among other parameters. What I want to achieve is creating a vuetify dialog using this array, where I can dynamically insert the corresponding input elements based on the type field. This could include inputs, radio buttons, checkboxes, or even more unique options like cron scheduling.
One approach would be to define a slot within the dialog for the input fields, but this would require coding in the child component responsible for implementing such a dialog. Instead, I was considering a method involving looping through the array of objects and rendering the appropriate component based on the type field, similar to a switch-case system.
Is this feasible, and would it be a practical approach? I am interested in hearing others' perspectives on this matter :)