Draggable / formeo

Drag & Drop Form Builder
http://draggable.github.io/formeo/
MIT License
528 stars 198 forks source link

Custom Control content Add Dynamically #260

Open NomanAhmed6352 opened 4 years ago

NomanAhmed6352 commented 4 years ago

How to add or change custom control content dynamically ..I have created custom table rows and want to add or remove column and row upon user selection.

{ tag: 'div', attrs: { // style: 'background-color:red;', class: 'form-group', }, config: { //disabledAttrs: ['type'], label: 'Custom Table Rows' }, meta: { group: 'html', icon: '', id: 'html.TableRows' }, action: { add: { attr: evt => { alert(evt); // create custom control } } }, content: `

Noman Noman Noman Noman Noman

` },

@kevinchappell

rajindersinghugw commented 5 months ago

@kevinchappell can you please update ?????