Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
64 views

Any idea what I am doing wrong? I need to set it up where I have events that contain a FormGroup, and it has dates, which is an array of FormGroup. I am getting this error: "ERROR TypeError: ...
Dominik Lavoie's user avatar
2 votes
2 answers
87 views

I am developing a timesheet form page in Angular 20. I am using formGroup, FormArray and FormControl classes. I am facing issues in retrieving and displaying the date values which I am pushing into ...
santubangalore's user avatar
1 vote
1 answer
64 views

I have a form which displays some inputs with their value that I get from my JSON database, and I want to have the possibility the update them if needed. Here's the HTML: <!-- Start form to update ...
Thibault Bruhiere's user avatar
1 vote
3 answers
101 views

I have a reactive form in Angular where when a specific field active_deActive is changed, I want the entire form to be deactivated, but the field itself to remain active so that the user can change it ...
davood beheshti's user avatar
1 vote
2 answers
117 views

Here's the StackBlitz showing the problem. I have a reactive form with an Email field and Send Verification Code button. When the code is sent, the Verification Code field appears, so the user can ...
AlexB's user avatar
  • 4,684
2 votes
2 answers
66 views

I'm using a Angular 20 with Reactive forms. Even after applying Validators.required to some controls, the form still includes empty string ("") or Null values when I log or submit form. I ...
Shantanu Patil's user avatar
0 votes
1 answer
87 views

this is kind of a continuation of an improved version of an old question of mine so basically I have a recursive Angular form and I’m using to manage a folder hierarchy. Each folder has a radio button ...
binga58's user avatar
  • 89
2 votes
1 answer
114 views

I'm trying to display a form that consists of two fields: input and datepicker. However, the datepicker doesn't display. Instead, I see the following error message in the console: ERROR RuntimeError: ...
Sergey's user avatar
  • 1,040
2 votes
0 answers
67 views

I have a login form in Angular 16 with FormGroup validation. When I open the login page in Chrome, the browser auto-fills the saved email and password fields. The values are visible in the input ...
Saba Katamadze's user avatar
1 vote
1 answer
45 views

Working on a form with two templates. It seems that if we change template + setting form as disabled, the form is not disabling. But if we do it with separate thread via setTimeout, we have corrent ...
Дмитрий Маркитан's user avatar
1 vote
1 answer
40 views

I have a formly form with toggle field, I would like to detect when the user clicks on the toggle to disable it. here is what I have done so far: fields: { key: myToggle, ...
Ramses Kouam's user avatar
3 votes
1 answer
79 views

I have a form, reflected with some Ionic components: <form [formGroup]="loginForm" (ngSubmit)="loginForm.valid && login(loginForm.controls['email'].value, loginForm.controls['...
Foxhunt's user avatar
  • 964
0 votes
1 answer
87 views

I have succeeded in creating multiple forms based on the value from the dropdown list, but I am not able to save the data from the input element into database. If my dropdown list displays the value 5,...
Samal's user avatar
  • 135
1 vote
2 answers
83 views

I have a simple FormGroup in an Angular component: // app.component.ts, part 1 export class AppComponent implements OnInit { protected form = new FormGroup({ ctl: new FormControl(), arr: new ...
bleistift2's user avatar
0 votes
2 answers
98 views

I'm using ngxDaterangepickerBootstrap to show calendar in a reactive form with a form control name call initialDate. in component.ts biller: new FormControl(null, [ Validators.required ])...
user30722271's user avatar
1 vote
1 answer
59 views

In Angular 19, I need a function to run when a dropdown changes value. However, it doesn't happen when using setValue. html <select id="dropdown" [formControl]="dropdown" (...
Travis Heeter's user avatar
2 votes
1 answer
107 views

Using a FormBuilder, 2 properties are created. One property (storefront) has a change event trigger which populates data to the select option of the other (countryCode). The countryCode is populated ...
Googs's user avatar
  • 841
1 vote
1 answer
76 views

Like it says, I want to add an item to the middle of a FormArray. So, I have a FormArray and every FormArray item has a button to add a new FormArray item. However, it currently always adds it to ...
HisDivineShadow's user avatar
2 votes
1 answer
175 views

I recently upgraded from angular v16 to v19 and the following code https://pastebin.com/3GhGmXQN <ng-container matColumnDef="lockIcon"> <th mat-header-cell *...
prashanth's user avatar
1 vote
1 answer
58 views

i am using angular reactive from module to my application here is my html code <form *ngIf="myForm" [formGroup]="myForm" (submit)="onSubmit()"> <mat-select ...
New User's user avatar
1 vote
1 answer
67 views

I have a simple yet perplexing problem. I have a reactive form and I want to set validation programatically. this.boatForm.get('boatType').setValidators(Validators.required); this.boatForm....
Rob Mousley's user avatar
1 vote
1 answer
204 views

In my Angular component, I have a Foo with a property bar which is an array of strings. I want to edit the list of text lines in my form. In my component, I declare barEditForm = new FormGroup({ ...
Vihung's user avatar
  • 13.5k
1 vote
1 answer
63 views

I'm trying to figure out how to display all identifier values(material table rows) if the ALL checkbox is checked. My current setup filters the rows based on identical values but the 'ALL' keyword is ...
spring_hiber's user avatar
4 votes
2 answers
462 views

I'm working on a dynamic form in Angular where I need to use ngComponentOutlet to dynamically load different components based on the field type. However, I'm struggling to bind formControlName to ...
Lebanta's user avatar
  • 53
1 vote
2 answers
98 views

What is the relationship of NG_VALUE_ACCESSOR, ControlValueAccessor interface in angular? Is if I have the following statement (provide:NG_VALUE_ACCESSOR) @Component({ selector: 'rm-header', ...
user1169587's user avatar
  • 1,448
1 vote
2 answers
82 views

I have host component and inside it there's three components(children). First child has a form with no submit button, while second child has again a form with submit button, Plus third child has just ...
Omar's user avatar
  • 83
2 votes
1 answer
134 views

I'm trying to use Signals Input in angular 17 to pass a specific form. In the older approach works fine: @Component({ selector: 'app-user-data-create-update', standalone: true, imports: [...
devinvestidor's user avatar
1 vote
1 answer
58 views

I have element in a FormGroup, let say const langs = ['en', 'de'] form = new FormGroup({ languages: [langs, [Validators.required]] descriptions: initChildGroup(langs) }) initChildGroup(langs) { ...
Raphaël Balet's user avatar
1 vote
1 answer
78 views

I need some assistance with handling checkbox selection using angular. I have 4 checkboxes, ALL, FirstName, LastName, MiddleName. When the page loads ALL should be the only one selected. If I click ...
Sunny's user avatar
  • 169
1 vote
1 answer
59 views

I created activity.component.ts file that has selector: 'activity'. In it's html have this: <div matSuffix (click)="picker.open()"> <mat-form-field class="clicker"> ...
kamilws's user avatar
  • 191
1 vote
2 answers
84 views

I'm building a generic Angular list component that integrates with forms using value accessors. I need to dynamically render form controls with custom theming inside this list. The following is a sand ...
Victor Shelepen's user avatar
0 votes
1 answer
118 views

I have a child component that is a dropdown select and I need to add formControlName from ReactiveForms, but this dropdown is not implementing the ControlValueAccesor. When I Submit the form the error ...
IKERAGI's user avatar
  • 31
0 votes
1 answer
42 views

I am trying to create a dynamic angular reactive form. And able to construct a form fields with the below code, but unable to edit the form controls. export class BillerDetailsConfirmComponent ...
vishnu's user avatar
  • 4,599
1 vote
2 answers
84 views

I have the following form with a set of radio buttons in each section I can only select one of the buttons at any given time. It appears that they do not have unique names. The form is dynamically ...
Mark Hill's user avatar
  • 1,851
0 votes
1 answer
100 views

This simple code returns null. I had the expectation that nonNullable form would have some checks inside. Do you have any idea why it's implemented like this? I tested it with Angular 18 test = new ...
s-f's user avatar
  • 2,142
1 vote
1 answer
306 views

I noticed a p-dropdown in PrimeNG 17.18.x when set in the disabled state ignores this state and can be focused and an item selected. In version 14.x it works fine. Can anyone shed some light on this ...
Damien Cooke's user avatar
2 votes
1 answer
2k views

I have set up a formbuilder with a number of inputs components, each of which uses a control value accessor mixin. Where I've got to is that the input components render OK, the user inputs trigger the ...
monkey's user avatar
  • 1,733
1 vote
1 answer
57 views

I have one angular component a I want to simplify this Rx.js functions to have one only one subscribe and not have subscrition in subsribe. Is it possible? Otherwise this Rx.js has task debounce ...
Orist Timemaker's user avatar
1 vote
1 answer
511 views

I'm working on an Angular project where I need to implement a form that includes a FormArray with multiple FormControl instances, each using PrimeNG's Autocomplete component with multiple selection ...
syahiruddin's user avatar
1 vote
1 answer
951 views

I am learning angular and trying to create reactive form for user authentification. To indicate if my firm work I added {{ LoginForm.value | json }. But it seems not to work. When I type something ...
Михайло Митровці's user avatar
1 vote
1 answer
49 views

In our Angular project we are using @ngneat/error-tailor for showing form errors: We are interested in showing the error messages when the controls are touched, feature which is requested in this ...
menrodriguez's user avatar
1 vote
2 answers
105 views

I have a basic angular reactive form inside a modal bootstrap popup which is simply not submitting. ie the angular ngSubmit event is not getting triggered! Please take a look at this stackblitz where ...
Prabir Choudhury's user avatar
2 votes
1 answer
112 views

I have a form which has three separate instances, but at its core has the same data with one or two different properties. I wanted to have a base form class which takes a generic argument to narrow ...
Alex Davis's user avatar
0 votes
1 answer
97 views

I'm currently facing an issue with infinite calls to a getter method in my Angular component that handles form validation. The getter is used to determine the validity of a form control, but it seems ...
Ravi Gaud's user avatar
  • 544
1 vote
1 answer
205 views

I built a shared input component in Angular using Control Value Accessor interface. The input itself works but validation doesn't get updated when I change the value within the input. Here is the ...
Dominic's user avatar
  • 187
4 votes
3 answers
310 views

I'm not sure if my question title is clear enough but I will try to give more details. I'm trying to create a folder hierarchy form using angular forms. The form can have unlimited nesting. My problem ...
binga58's user avatar
  • 89
0 votes
1 answer
87 views

I have a reactive form for entering sales that has multiple identical lines (item#, description, quantity, retail, and extended retail). It is using a FormArray if that makes any difference on the ...
Smith5646's user avatar
1 vote
1 answer
128 views

I am working on an application in Angular where I was primarily using <ng-select> for searchable dropdowns and it worked like a charm. Now I am migrating the entire application to Angular ...
Bitan Basak's user avatar
1 vote
1 answer
127 views

I am trying to implement a multi-step Angular Reactive Form in my project. I am using Angular 19. I sought consultation from a tutorial that was written in Angular 8 though. I am getting several parse ...
Prabir Choudhury's user avatar
0 votes
1 answer
225 views

I try to disable and enable a angular material input field in typescript. I found only solutions where the value is set on creation time or in html like inputField = new FormControl({ value: '', ...
parascus's user avatar
  • 1,269

1
2 3 4 5
99