All Questions
2,077 questions
0
votes
0
answers
56
views
post a data in SharePoint list gives 400 Bad request
here is my sharepoint service.ts angular component code
i have my form code deployed in my sharepoint
i want to post the data to my sharepoint list ,
here i am able to fetch data from sharepoint list ...
0
votes
1
answer
31
views
how to initialize reactive forms using angularjs for arrays
I have a reactive forms for angularjs and try to initialize few field:
initializeBusinessEposForm(): void {
this.businessEposForm = this.formBuilder.group({
custom_pos_priority: new ...
0
votes
1
answer
354
views
How to loop over and add values to an array in Angular forms
HI so i'm trying to set up a basic attendance system using ASP.NET core web api as backend and Angular as front end i'll provide you the code and then explain the problem
<form [formGroup]="...
0
votes
2
answers
37
views
Form not redirecting AngularJS
<head>
<title>Authentication</title>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script>
</head>
<body>...
0
votes
1
answer
180
views
how to create a function inside the class component in angular 13?
I have code for switch toogle but the problem i cant get rid of the erro says 'unexpected token' its expecting constructor or method within a class. This is Angular component and class that needs to ...
1
vote
0
answers
92
views
Form Value is getting repopulated when tried to be cleared/reset in Angular
I have a question while working with angular forms. There are two tabs that use the same component. One FormGroup is present in this component which has few dropdowns to be populated. The task is to ...
2
votes
1
answer
967
views
Form validation - To require only one field OR the other. setErrors(null) not working - Angular 11
I have a form that has a couple of fields, but two of them have the following rule: If you fill field 1, you don't have to fill field 2 and vice-versa.
All fields have their own custom validators, ...
1
vote
1
answer
304
views
unable to add form control to field to form group in angular
I am trying to add a FormControl that is used as a autocomplete field to a FormGroup but I am not able to do it.
ts file:
export class EditChannelFieldsComponent implements OnInit {
field_name = new ...
0
votes
1
answer
140
views
Add same form element below by clicking add button. using Angular Js
I have a form1 and a add button. The thing I want is to add same form as form2 below form1 on clinking add button. As I am new to Angular Js it will be very helpful if someone can help me out.
HTML
&...
1
vote
1
answer
91
views
Login Form- Not working if else statements
I cant get my login form to work with the separate logins, the preview wont event show up. I think there is something wrong with my if-else statements.
HTML:
<body ng-app="myApplication" ...
0
votes
1
answer
147
views
How to submit angular js form using ng-click?
I want to provide id and date though the html form and then submit these values
to the js controller and execute one of my endpoint with that values (adminId and adminDate). I think something is ...
0
votes
1
answer
362
views
Cant get the request content from a form with nodejs, express and mongoDB
I need to access the data posted by a form to handle it with node and express, so then I can add it to mongoDB. The answer I get for NAME is "undefined" and for DATA "[object Object]&...
0
votes
1
answer
31
views
Reative form - Group with an Array and with another group
I am trying to build an angular project with reative forms:
This is the json file:
{
"idReceita": 115,
"nomeReceita": "aa",
"dificuldade": "Fácil",
&...
2
votes
0
answers
284
views
How To Create An Employee Schedule Form With AngularJS 1.5.11
Summary
I'm having a hard time developing what I believe is a simple form using angularjs 1.5.11. It is supposed to be a multiple form single page UI which manages work schedules.
The final result ...
2
votes
0
answers
900
views
AngularJS: TypeError: Cannot read properties of undefined (reading 'parse') after reset form values
I need to reset an AngularJS form after submitting and receiving a response. But after that I can't use the form, I get an error when I try to enter in any field: "Cannot read properties of ...