How do I populate an update form via @input so that when I press update button the form will be populated by user details from table. it is highly recommended that I use the @input – @output – @eventemitter to pass data from Parent component to child Component, knowing that the update form is full ..
I’m creating a simple todo app using Angular and reactive forms and I can’t figure out how to populate the form when the "edit" button is clicked in following project structure. Project structure: App shared task-detail.model.ts task-detail.service.ts task-details task-details-form task-details-form.component.html -> contains the reactive form task-details-form.component.ts task-details.component.html task-details.component.ts So the task-details.component.html contains the list of ..
I have a project in Angular 11 and Spring Boot where I am developing a button editable table. I am missing a function with which I am having problems, cancel the edition, I do not know how to keep the data when pressing the Discard button. This is my component.ts: export class ClientsComponent implements OnInit ..
I have an editable table in angular in which I am adding CRUD operations with Spring boot. Each row can be edited by pressing the edit button and then saving or discarding the changes. My problem is that when discarding the changes (cancel ()) the original data is not saved if it is not updated. ..
I have a project in Override where I have created an editable table with angular material. The table can be edited in the same file by pressing the edit button, when the edit button is pressed, two other buttons are shown, save or cancel the changes. I have made the table editable with the buttons, ..
I have a project in Angular and Spring in which I am implementing CRUD operations but I am having trouble updating the fields in the database. My problem: how can I communicate the ts function with the service to send the new data to the back and update the database? This is my service.ts with ..
I am using angular to frontend and php to backend. database is mysqli. when I store new data to through the angular form. but I can’t showing new data. but I force refresh browser new data is showing. I am using hostgator server. Source: Angular..
I’m developing a website with Angular CRUD operations, but I struggle to perform successive delete on my database. I recover my IDs which need to be deleted from my database in an array called « this.checkedLogs » (this part does work). Then, when I click on a button I call a function which used to ..
I’m building a project with Angular as front-end and .NET Core for the backend (Web API). I have models (entities) like: Gender, Position, Department, EmploymentType, SocialNetworks, etc. All these models are stored in database and retrevied via API call to the server. I want the user to be able to view, modify, add, delete these ..
I am implementing an angular project with php qnd mysql. I have located the php application named as api in the frontend root folder. I am not sure how best to setup the proxy-conf.json I currently set something like http://localhost:3306/frontendroot/api in my proxy-conf.json and set the baseUrl = ‘http://localhost:3306/frontendroot/api’; in service file used to talk ..