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

We're starting to look at Angular 21's new signal-based forms, but I can't find a clean way to define default values for each form field, especially when building forms for objects where multiple keys ...
Peter T.'s user avatar
  • 3,397
2 votes
2 answers
65 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
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
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
0 votes
1 answer
86 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
0 votes
1 answer
86 views

I am working on an Angular component that manages a list of FormGroups. This list can be expanded and items can be deleted. But I also want the component to handle any kind of FormGroup. So for ...
GeirrBenayahu's user avatar
2 votes
1 answer
94 views

I have to mange a relation for X*2=Y, there Y and Y are input fields. In the moment, I trigger by a change of the input field the related variable as X changed => Y=X*2 Y changed => X=Y/2 import ...
Juergen Gross'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
1 vote
1 answer
75 views

Using MatSelect and working on UTs. Post selecting a option via test harness, not able to see ngModel variable binding working. Here is the html snippet: <mat-form-field class="dropdown-...
Arnab Mukherjee's user avatar
2 votes
1 answer
177 views

I have a list of signal type. searchModelDriver: string = ''; driverList = signal<any[]>([ { fullName: 'test1' }, { fullName: 'test2' }, { fullName: 'test3' }, ]) I also have a ...
davood beheshti's user avatar
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,440
1 vote
1 answer
57 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
2 votes
1 answer
46 views

Tagid and typename textboxes are currently holding routed values from customer component, but are not being saved into the database when I clicked on save button. In other words, routing the dynamic ...
Samal's user avatar
  • 135
1 vote
2 answers
81 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
2 votes
2 answers
647 views

I have an Angular dropdown component (CustomDropdownComponent) that receives a list of options and a selected value from its parent component via @Input(). The parent also listens for selection ...
David Küng'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
2 votes
1 answer
32 views

I am trying to build a LMS using Angular but I have some issues with Angular forms. I want to be able to add dynamically modules to a given course but also to add dynamically any sort of the 3 types ...
Oreoyona's user avatar
1 vote
1 answer
80 views

I’m preparing a presentation on the topic of Angular state management for my colleagues. The main focus of the talk is creating “dumb” components which accept inputs from parent components, render ...
jgosar's user avatar
  • 2,563
1 vote
4 answers
603 views

I'm building a form and I'm confused if I should use mat-form-field tag from angular material alone without form tag, or I should wrapp everything with form html tag like the following <form> &...
Omar's user avatar
  • 83
-1 votes
1 answer
576 views

I have a form and researching here discovered a way to check whether the form is valid or not and to put your data in the URL when submitted. However, if you open another page with the parameters in ...
ViniciusDevelopment's user avatar
1 vote
1 answer
258 views

I want to implement my own Property directive which should act similar to the existing FormControlName directive. It should use the name of the given Property to act as if it where given as ...
wertzui's user avatar
  • 5,780
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
1 vote
1 answer
261 views

This is my first time trying an async form validator. It is attached at to my form's asyncValidators, it's firing appropriately, the correct value (object or null) is being returned ... but the form ...
Emery Noel's user avatar
2 votes
1 answer
119 views

I'm currently building custom month picker component using the Datepicker from angular material library.The month picker should be able to use with reactive form like this. app.component.ts form = ...
bri zhao's user avatar
0 votes
0 answers
66 views

I'm building a form which on the top contains filters. I'll show the functions that are called when the error ocurrs public onChangeSubType(requestSubType: any) { const typeId = this.filterFormGroup....
Diego Rios's user avatar

1
2 3 4 5
43