I am trying to reference the orders object with nested ids (using the amazing ng-admin):
{"user":
"id": 1,
"orders": [
{"order_id": 100},
{"order_id": 101}
]}
This is the view definition:
user.showView().fields([
…
I'm trying to build an admin interface using ng-admin.
I'm using a reference field to link one main entity (Post, for example) to a different entity (Comment) that has a many-to-one relationship (one Post has many Comments).
On a listView() of Posts…
I've like running application on this
https://github.com/swiip/generator-gulp-angular#readme
Is there any way to implement ng-admin next to my running application?
Because if I have mine ui-view in my index.html, ng-admin just overrides everything…
I try to do an autocomplete field in ng-admin
got :
Error: t.choices is not a function
r/<.compile/<.pre@http://admin.dev:81/bower_components/ng-admin/build/ng-admin.min.js:15:2543
etc ...
here is my code
45 var ingredientName =…
I'm trying to remove custom parameters from the following HTTP request on my REST API:
I want to turn
http://localhost:3000/users?_page=1&_perPage=30&_sortDir=DESC&_sortField=id
into http://localhost:3000/users
I am using ng-admin, which is an…
I want to update only the changed fields of entity,but the editionView of ng-admin transport all fields,even unchanged.How can I only transport the changed fields or get the changed fields?
Sorry if this is documented somewhere but I haven't been able to find it. Is there a way to specify field errors after a create/update fails validation on the server? Does ng-admin have any features to highlight the fields with errors? Should I…
I am using ng-admin and I created a custom directive(following this example http://plnkr.co/edit/rYC3nd7undqJz2mr8Old) to upload a excel sheet, when I upload the file, I get the following TypeError: Cannot set property 'columnDefs' of undefined, …
I want to display two target fields in a reference-many
nga.field('pm', 'reference_many')
.targetEntity(worker)
.targetField(nga.field('name'))
.filters(function(search) {
if (!search) {
return;
}
return {
q:…
Using ng-admin, how can you build a creation view form with two fields: a name, and a file?
The file field type lets you easily select a file as part of a form, but it immediately posts it to an endpoint that you configure. That endpoint returns…
I have the following problem:
I am using ng-admin to build an administration page. There is a custom page added to the ng-admin interface. The standard ng-admin pages are routed by ng-admin and there is no problem with the list/edit views.
Now I…
In ng-admin I am able to add a field of type reference and display the name of the referenced entity by
nga.field('schedule', 'reference')
.targetEntity(schedule)
.targetField(nga.field('name'))
.label('Schedule'),
Is it possible to display a…
I got an entity with 2 properties x and y, y is calculated on server side after every save, the problem is in ui, when editing x and click save, y value is changed on server, but change is not reflecting in client side.
Is there a way to tell…
I have a list view, and a filter. Let's say the user filter by a reference object. and he see no records found, I'd like to offer him to create a new record, but to use the picked value from the filter as an initial value for the new record.
I can't…
I want to change url in ng-admin state. For example, I need to add a trailing / at the URL for getting a list of users. (http://localhost/api/v1/users/ instead of http://localhost/api/v1/users)