Currently, I am utilizing BootstrapVue (Bootstrap 4.6 and VueJS 2)!
My objective is to dynamically generate elements such as input fields, dropdowns, and checkboxes based on a JSON file structured like so:
[
{
"unique_number": "1111",
"key": "key1",
"label": "Input 1",
"input": "text",
"value": ""
},
{
"unique_number": "2222",
"key": "key2",
"label": "Input 2",
"input": "text",
"value": ""
},
{
"unique_number": "3333",
"key": "key3",
"label": "Input 3",
"input": "number",
"value": ""
}
]
Ultimately, I aim to have 3 input fields with corresponding labels (Input 1, Input 2, Input 3).
However, I have been unable to find adequate resources online to achieve this. Any assistance on this matter would be greatly appreciated!