Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
50 views

The problem is this: I'm trying to do something similar to what from react-admin (https://marmelab.com/react-admin/Datagrid.html) does, but for Angular. The idea is to be able to use a table on a ...
Facundo arambillet's user avatar
2 votes
2 answers
174 views

I have a general question using Angular's FormgroupName or NgModel. The Docs I am reading say NgModel was deprecated in Version 6, but it is still available in 17/18, today's current version. The ...
Graham's user avatar
  • 306
0 votes
1 answer
28 views

I'm working on a solution where I have a table grid that allow users to add and remove items from the table. Inside of each row are select columns that represent states, cities and mlb teams. I'm ...
Brandon Michael Hunter's user avatar
0 votes
2 answers
139 views

help is appreciated and thanks in advance for all solutions. I created a FormGroup and want via loop adding FormControls to a FormGroup. This tutorial is from Matt Thornton building a real site with ...
ReMadWeb's user avatar
1 vote
1 answer
449 views

I am working on Angular 14, Typescript 4.7, Angualr/forms: 14.3.0. Below is a minimum error reproducible code snippet. import { Component } from '@angular/core'; import { FormBuilder, FormControl, ...
Hari Krishnan U's user avatar
1 vote
1 answer
362 views

This is my form: <div class="container"> <form formGroupName="checkoutForm"> <section> <div class="row"> <div class=&...
koque's user avatar
  • 2,306
0 votes
1 answer
76 views

I want to be able to define my own methods for a custom angular FormGroup. So I created a class that extends the default angular formgroup, and I want it to be of the same type as IUnitForm initForm():...
Gambon's user avatar
  • 17
0 votes
1 answer
70 views

I created this component called country-flag-dropdown.ts and html Component: import {Component, OnInit, Input, Output, EventEmitter} from "@angular/core"; import {FormGroup, FormControl} ...
Panda18989's user avatar
2 votes
1 answer
72 views

I am dynamically adding formControl to a parent form by iterating an array of objects & want to track the change in these dynamically added controls by adding the valueChanges to the parent form ...
brk's user avatar
  • 50.3k
0 votes
1 answer
48 views

I'm creating form dynamic form control using this code this.fieldsData.forEach((ele, i) => { if(ele?.inputType=='dropdown') { const splitValues =ele?.inputValues.split(','); ...
user3653474's user avatar
  • 3,872
0 votes
1 answer
75 views

I'm trying to pass all FormGroups that are in childrens to my directive. Why are they not transmitted? I tried using @ViewChildren and @ContentChildren but the result is undefined <div block="...
trimmm0's user avatar
2 votes
2 answers
235 views

I have an application in which user is choosing the value from dropdown and based on choosed value, type of FormGroup will be used. This formGroup is used as "additional informations" I use ...
Marek's user avatar
  • 101
2 votes
1 answer
56 views

I'm trying to make a that don't search until the inserted value is higher or equal than 3 but the method i try didn't work :( Home.page.html <form [formGroup]="search"> <ion-...
Rafael Díaz Delgado's user avatar
0 votes
2 answers
541 views

This works on a simple form, with a single start and end date, but now the form I have is dynamic which has multiple pairs of start and end dates, so I've had to use a FormArray. Here is the structure,...
Sachin's user avatar
  • 569
0 votes
0 answers
73 views

In my application, I need to reset input type radio button on cancel button click in reactive forms. <form [formGroup]="form1"> <button click="save()">save</button&...
Dips's user avatar
  • 1
1 vote
1 answer
59 views

I have this HTML <drop-down-list [name]="MeetingTool.Type" [options]="options$" [isRequired]="false" class="input-...
daniieldvir's user avatar
0 votes
2 answers
454 views

I am getting the following error when trying to populate a FormArray in Angular (version 17): Argument of type 'FormGroup<{ name: FormControl<string | null>; amount: FormControl<number | ...
Jose Luis Roman's user avatar
0 votes
1 answer
1k views

I have two angular components a parent and a child, both with their own form fields. I setup change listeners in both components to listen to the form control value changes and disable some fields ...
Sam's user avatar
  • 5
-1 votes
3 answers
2k views

I have this form group defined get createItem(): FormGroup { return this.formBuilder.group({ name: ['', Validators.required], email: ['', Validators.required], mobile: ['', ...
user3653474's user avatar
  • 3,872
1 vote
0 answers
43 views

hello guys i have problem using angular spring boot , For spring boot : backend when i try to make edit request using spring boot without puting the id i got status 500 , so i add the id using swagger ...
eya joma's user avatar
0 votes
1 answer
206 views

I am currently working on an Angular input component in StorybookJS. The problem that I am facing is that when I type a value (e.g., hello) in the control panel in storybook js and click disabled to ...
Jinglemahn's user avatar
0 votes
1 answer
167 views

import { Component, OnInit } from '@angular/core'; import { ModalController } from '@ionic/angular'; import { FormGroup, FormControl, Validators } from '@angular/forms'; export interface ...
Parse-Vader's user avatar
0 votes
1 answer
450 views

I'm using angular and I need check id of each input. Is there any way to set id form each form input like this? this.contactForm = this.formBuilder.group({ firstname: ['', {id: 1}], lastname: ['', ...
user17456983's user avatar
-1 votes
1 answer
861 views

I am pretty new to angular and learning formArray. I have 2 simple lists of roles and rights. For this, I need to plot a checkbox matrix as follows. Also, at the bottom of every column, I need to show ...
Adam.M's user avatar
  • 1
0 votes
2 answers
290 views

I have a MatTable with a datasource composed of AbstractControls (FormGroups) for an editable table with action buttons at the end of the line to save or delete each element. I would like to trackBy ...
Cédric's user avatar
  • 470

1
2 3 4 5
10