Hi guys, I've got an issue with my angular application, I've got a form which is meant to create a new record (object) and push this object into an array. My set up is the following: I have a book.component.ts whic contains an array of IBooks as such: books: IBook[] = [ { "bookID":356, "bookAuthor":"John Beck", "bookTitle":"The story of my life", "location":"Shelf downstairs", "medium":"paper", "notes":"" }, { "bookID":900, "bookAuthor":"Jack Mills", "bookTitle":"They", "location":"Shelf downstairs", "medium":"PDF", "notes":"This is on my laptop and phone" } ]; This file also contains the static method static createNewRecord($record): void{ console.log("createNewRecord() called"); console.log($record); this.books.push($record); console.log($record); // $event.preventDefault(); …

Member Avatar
Member Avatar
+0 forum 5

I am planning to build an app in nextcloud but what is the front-end framework i should choose?. I have found the nextcloud repo having angular 1, but the i find it being an old framework, Is there option to use Angular 2 or higher. otherwise which is the best front-end framework to use ?

Member Avatar
Member Avatar
+0 forum 1

Hi guys, I'm fairly new to angularjs 2 (I've only used 2) and I have a small application with a form. Currently I'm able to get the form data as an objects and print it to the console.log, onSubmit(form: any):void{ console.log(form); } producing this: Object {author: "Author test", title: "Title test", location: "Location test", medium: "Medium test", notes: "Notes test"} but what I want to do now is to push that data to a mysql database. I have no idea what needs to be done, so I'm doing a bit of reading here and there, but I have to say …

Member Avatar
Member Avatar
+0 forum 2

The End.