How to change element to input or dropdown in angular form?
问题 I am making angular 6 application, where i am using angular dynamic form and the values are coming from JSON.. Simple JSON : jsonData: any = [ { "elementType": "dropdown", "key": 'project', "label": 'Choose option to display', "options": [ { "key": 'inputbox', "value": 'Show Project Level as input box' }, { "key": 'dropdown', "value": 'Show Project Level as dropdown' } ], "order": 1 }, { "elementType": "textbox", "class": "col-12 col-md-4 col-sm-12", "key": "project_level", "label": "Project