Sorry if it is a silly question since it is covered in the documentation, but I can't make it work (I am new to AngularJS).
I am trying to write an interface to my database using ng-admin on top of a django-rest-framework. The problem is that the…
I am new to webpack, and I am trying to migrate our project from rails assets pipeline to Webpack. When precompiling ng-admin.min.js with webpack, I am getting error that Cannot set property 'rangy' of undefined in the line global.rangy =…
I've stucked on problem with refreshing pages. Example: base app opens and url is localhost:8000/dashboard, then i go to users tab from menu or anywhere else and url is localhost:8000/users/list. If i refresh page while on users then it will go to…
the following URL is called on our application to add a new subscription record.
http://example.com/Subscriptions/create?defaultValues={"login_id":1234}
Part of the creationView code is the…
I'm using NGAdmin with Symfony and I have created a RESTful API to work whith it. It works fine, but when I have to load a list or a create/edit form that has a field whith relationships, it doesn,t load some of this relations.
It's completely…
Say, you want to edit a singleton, then you do not have a list of objects and hence it would be useful to only offer an editionView, but no listView for an ng-admin entity.
For instance as:
var admin = nga.application("Dashboard");
…
Is there a way in ng-admin to refresh values (content of the fields) without refreshing the entire page?
For example, if there was a REST API that returns a value that changes over time (e.g. amount of requests in a queue). How could I create an…
I have a targetEntity defined for a relationship in my creation view on my User entity, however when the list loads the entities, the api call is including the default paging, so the list is not complete.
nga.field('CompanyId', 'reference')
…
I am conceiving an SPA with the following tools:
Rest backend: Symfony + FosRestBundle + JMSSerializerBundle.
Front admin panel: ng-admin + angular.
My question: how to test an SPA, is there a specific workflow?
Do I have to use selenium or just…
I have to use functions which are only in Master yet (like onSubmitSuccess or onSubmitError) and I couldn't find information on how to build ng-admin from source. I'm not proficient in JS tools, please give me example.
I have a listview with a few fields, two of the fields are firstName, lastName. I would like to display Name as a header and concatenate firstName and lastName.
How can I go about doing this?
I need to customize GET and PUT request for the field in Edition view.
For example I have two entities in my app: 'Companies' api/v1/companies and 'Journals' api/v1/journals.
In Edition view for 'Journals' api/v1/journals/1/edit one of the field…
I want to change deleteMethod to POST method in ng-admin.
For changing createMethod from POST to PUT method I used:
user.createMethod('put');
I want to delete to post method.
user.deleteMethod('post');
The above is not working. Please help me.
In ng-admin edit view I need to change file upload url with id as below , but I don't know how to fetch id of selected entity in uploadInformation base url like {{entry.values.id}} , below is my code :
files.editionView()
.title('Edit…