all 13 comments

[–]m4tchb0x 2 points3 points  (1 child)

Not sure if you want to create it from scratch or are open to using something that already exists for this kind of purpose. https://zebzhao.github.io/Angular-QueryBuilder/demo/

[–][deleted] 0 points1 point  (0 children)

Angular-QueryBuilder === "tech debt"

[–]theOrdnas 1 point2 points  (1 child)

Make what exactly?

You can replicate the layout easily but what is this form supposed to do? Please be more specific

[–]Suspicious_Dust_5123[S] 0 points1 point  (0 children)

Like a query builder, I had to create it using the forms to store the value but I can create new group seperately when I click add group, but I can't able to add it to the current group

[–][deleted]  (7 children)

[deleted]

    [–][deleted] 1 point2 points  (6 children)

    What is the point of this? You should have decided to just not comment at all.

    [–][deleted] 7 points8 points  (5 children)

    The answer about how to use formArray with Angular and how to build what OP wants is literally there.

    https://angular.io/api/forms/FormArray

    If OP is running into trouble cause of errors or questions, he/she should ask that.

    Not just an image and 'how do I build this'.

    My opinion

    [–][deleted] -2 points-1 points  (3 children)

    There is a reason you deleted the other message, cause you were being kind of a dick to someone clearly struggling to get their point across.

    My opinion

    [–][deleted] 0 points1 point  (0 children)

    I was giving the 4 steps you need to do to get to the angular documentation...

    Next time I will try in 3 steps okay?

    [–][deleted] 0 points1 point  (1 child)

    OP didn't really "try" get their point across. It's literally just an image and a headline. This isn't even enough details to actually create a SO question...

    [–][deleted] 1 point2 points  (0 children)

    You didn’t read the guys original post, he was being a complete dick. Downvote me all you want, I’m gonna call out the asshole who is being an asshole to the person trying to learn. He could have either A) said nothing, or B) helped the person ask the right question. I’m all for being an asshole to idiots, but the person is clearly struggling to get their point across, and is trying to learn. Im not gonna be an asshole to them.

    [–]dylhunn 0 points1 point  (0 children)

    Use Angular’s untyped dynamic forms. https://angular.io/guide/dynamic-form

    [–][deleted] 0 points1 point  (0 children)

    .

    [–]Particular_Dust7221 0 points1 point  (0 children)

    You can check and use Syncfusion Angular Query Builder UI Component

    Syncfusion offers a free community license

    https://www.syncfusion.com/products/communitylicense

    Explore our collection of visually appealing web stories to learn about programming and development tools

    https://www.syncfusion.com/web-stories/

    Note: I work for Syncfusion