kelp404 / angular-form-builder

Drag and drop to build bootstrap forms in AngularJS.
http://kelp404.github.io/angular-form-builder/
MIT License
599 stars 340 forks source link

Creating form builder with two/three column layout #89

Open manubenjamin opened 8 years ago

manubenjamin commented 8 years ago

I need to create form builder with two or three column layout (Drag and drop component to column and reposition it within the columns). I have tried the same by adding different fb-builder in each column. But for me, I am not able to drag and drop the component from one column to other.

Can you help me to fix the issue.

hueitan commented 8 years ago

Are you able to dnd on the demo page?

manubenjamin commented 8 years ago

Yes, but I am not dragging and dropping component from fb-component. For me there is some dynamic list and based on the input, I am creating the component and adding to fb-builder. After adding to fb-builder, I am able to drag and reposition the component inside the fb-builder. But moving component from one fb-builder to other is not working(Drop event of all fb-builder is triggering while dropping)

kimthuy commented 8 years ago

I recommend to create multiple fb-builder

santosh-k1 commented 7 years ago

Hi, You need to edit in angular-form-builder.js steps are as below -

Hirenp75 commented 6 years ago

Hi santosh-k1,

i have added col-md-3 for create the 4 columns and col-md-4 for create the 3 columns

my template : "<div class=\"form-horizontal\">\n <div class=\"row\"> <div class=\"fb-form-object-editable col-md-3\" ng-repeat=\"object in formObjects\" fb-form-object-editable=\"object\">

\n
\n "

but still drag and drop functionality isn't working for me.so can you help for me solved 4 column and column related issue.

If you have any other solution please let me know.it's great for me.

Thanks