Category : crud

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 ..

Read more

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 ..

Read more

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 ..

Read more