Posts by Alessandra Nastassja • 17 points
5 posts
-
-1
votes2
answers26
viewsQ: How to control setValidators in angular?
I using relative forms at angular 4, I’m having trouble controlling setValidators in somewhat large structure, like below: this.criteria = this.formBuilder.group({ discount: this.formBuilder.group({…
-
-2
votes3
answers71
viewsQ: How to take larger amount of each product and show within a list from the largest to the smallest?
How do I pick up quantities and show all the smallest amounts of that amount within ul (list) of different objects? As for example, the first item has 5 quantity, I would like to show within a list…
-
0
votes0
answers187
viewsQ: How to read an XML file after an Angular upload?
I am working with uploading XML in Angular 4. I would need to read the contents of this file and turn into a string. Could someone help me ? HTML <input id="uploadXml" type="file" #uploadXml…
-
0
votes1
answer237
viewsQ: How to save checkbox status within an angular dropdown?
I’m using a department object to display some checkboxes within a dropdown. When I click on the dropdown, it loads this object and shows the checkboxes. The problem is that I don’t know how to store…
-
0
votes1
answer80
viewsQ: How to set value in a formBuilder.array in Angular?
Using relative forms at angular 4, I have a problem defining a value for the array. How to set its value ? marketStructures: this.formBuilder.group({ include: this.formBuilder.group({ departments:…