I'm currently trying to get the file upload working but hitting a problem in that the form is uploading the payload with multipart form data instead of a JSON object.
Back& will only accept a JSON object with filename and filedata inside, but I…
I made some modification in the ng-admin source code, so I need to rebuild it using webpack.
I installed all node modules from the package.json with $ npm install
And then ran webpack -d which used the webpack.config.js.
I removed the , exclude:…
I'm trying to write a custom type to create a cascading dropdown.
I start with defining a new custom type extending reference type.
The problem is that no matter what I write inside the class body the component doesn't show up with no error.
Here is…
I'm using ng-admin.
According to doc, I created a custom field.
ng-admin recognize the FooFiledType but it dosn't render the FoofieldView and use the original FieldView !
config module :
angular.module('admin', ['ng-admin']);
import FooField from…
I'm using ng-admin.
I have two dropdown lists in a page, one for Provinces and the other for cities.
I would like to populate choice of cities according to the value of the selected Province field. I can't load the whole list because it is…
I've been thinking to use multiple APIs in my ng-admin app. I also have an another authorization API running on the host which provide tokens for other API calls.
I would like to use all above APIs in my ng-admin app.
Customizing the API Mapping of…
I define a custom field on ng-admin to upload a file. I use the documentation here.
I include the repository admin-config.
Define my CustomeFileField as follows:
import Field from "./admin-config/lib/Field/Field.js";
class CustomFileField extends…
how can I configure ng-admin to work with several different URI endpoints?
e.g.
var admin = nga.application('My Admin')
.baseApiUrl('http://localhost:6007/api/v1/');
lets me use localhost:6007 as my URI
I would like to be able to use additional…
I'm trying to figure out how I can make a custom directive which will combine:
reference list select field
create button which will show a reference entity creation view
and on creation save. reload reference list entities, so i can choose a newly…
I yuse the smart ng-admin javascript framework for my admin
I want to have some difference between edit and add view ..
for instance, i want to add some fields in edit view : I would like to do someting like that :
var addViewFields =…
I Use the smart ng-admin for my website administration.
On the edit view, I display, say a post. On the other hand, I Want to upload an image for that post. My back api needs the information about my post.id , so , post is the model in ng-admin, I…
I am working on a project that uses ng-admin as framework and I am totally new with angular, etc.
The thing is that I need to use google maps with that, because I have one Entity with Latitude and Longitude.
But I have no idea about how I'm gonna do…
I'm trying to get my REST api which exposes my mongodb database to connect to ng-admin. I've had limited success, I can see the _id's in the interface once I've converted them from objects to strings.
specifically I'm having a problem with using…
I'm trying to set up a simple app with angular 1.5 and ng-admin,I imported all the dependencies and done everything right but angular can't find the ng-admin module even though I have imported it
this is my html :
…