Skip to main content
0 votes
0 answers
47 views

I having issue multiple validation is not working properly. For example validate1 method checking input is empty or not , validation2 method checking name1 and name2 value are equal or not equal. ...
Angular Guru's user avatar
0 votes
0 answers
23 views

Parent Component ts Obj1={ name:"foo" fname:"Bee"} Obj2={field1: "data", field2:"data2" , filed3:"data3"} html : <form #f="ngForm"> &...
Angular Guru's user avatar
1 vote
1 answer
61 views

Currently I am created two directive to project . But one directive useed for if checkbox is checked , I will get 1, if checked is false i will get 0. Another Directive is used for convert value &...
Angular Guru's user avatar
1 vote
1 answer
71 views

Given the following code snippet: @Component({ selector: 'app-editor', templateUrl: './editor.component.html', styleUrls: ['./editor.component.scss'], providers: [{ provide: ...
user1169587's user avatar
  • 1,440
1 vote
2 answers
75 views

I have a form: <input type="password" id="password" name="password" ngModel #password="ngModel" ...
user28273827332's user avatar
1 vote
1 answer
46 views

I'm trying to setup the form in such a way that when someone selects Mr in the first dropdown, the value changes to male in the second dropdown. Likewise, if someone chooses Miss/Mrs, the 2nd dropdown ...
Elaine Byene's user avatar
  • 4,163
2 votes
1 answer
52 views

<select [(ngModel)]="profile.type" name="type"(change)="selectPhoneType($event,mailCreate,'phone4_Value')"> <option value="">...
user3653474's user avatar
  • 3,872
0 votes
2 answers
149 views

I'm trying to give user the ability to update the quantity of their selection before product checkout. The code below allows only 1 character in the textbox. What changes can I make to allow user ...
Blah Foo's user avatar
2 votes
1 answer
48 views

My requirement is to fill textboxes with their corresponding value from database when a change is made in name textbox. For instance, if the value Mary is enter in name textbox then its corresponding ...
Milie24's user avatar
  • 89
1 vote
1 answer
3k views

I have the above error message when I try to use two-way binding in a Angular application. <form> <input type="email" class="form-control" id="email" name="...
Collina's user avatar
  • 75
1 vote
0 answers
169 views

I have a weird behavior with async validators from Angular. Here's the context (this is an example, not the best use case here but that's not the issue ^^) : I have a form with a ngModelGroup inside. ...
Jesc6417's user avatar
0 votes
1 answer
331 views

I have a template-driven form in my Angular application that includes a dropdown menu (select element). I want to validate the dropdown menu to ensure that a value is selected before the form is ...
Tom N's user avatar
  • 1
0 votes
1 answer
582 views

I have a fix number of checkbox which I am binding using for loop. <ul> <li *ngFor="let chk of checkboxes"> <input type="checkbox" [id]="chk.id"...
j4rey's user avatar
  • 2,707
0 votes
0 answers
676 views

here i am using template forms for binding the values under array and there is inline edit available for each row, issue is that, if i am giving duplicate for 3 rows under order number or the name, it ...
Bhrungarajni's user avatar
  • 2,547
2 votes
1 answer
159 views

I have a very simple Angular Component as follow: import { Component } from '@angular/core'; @Component({ selector: 'test-view', template: ` <div [ngStyle]="{ 'background-color': m....
Ciaccia's user avatar
  • 402

15 30 50 per page
1
2 3 4 5 6