Questions tagged [ng-admin]

An AngularJS admin GUI for any RESTful API

An AngularJS admin GUI for any RESTful API: https://github.com/marmelab/ng-admin

110 questions
0
votes
1 answer

How to add a view in ng-admin that doesn't call backend?

I want to add a static view in ng-admin, where no backend call is required. Something like an about section. Is there a way to do that?
Igor G.
  • 6,955
  • 6
  • 26
  • 26
0
votes
1 answer

Is it possible to have a dynamic choice field with ng-admin?

When creating or editing an entity, is it possible to have a second choices field where the options are dependent on the first choices field? For example, I have categories and subcategories. The choices/options for the subcategory field are…
Matt T
  • 3
  • 1
  • 2
0
votes
1 answer

Require method in javascript

I'm not an expert with javascript. I'm wondering, from which library you get the require method For example, in main.js : (https://github.com/marmelab/ng-admin-demo/blob/master/js/main.js) require('./customers/config')(nga, admin); Thank you !
Xero
  • 3,951
  • 4
  • 41
  • 73
0
votes
2 answers

ng-admin show empty view using bower install

In the ng-admin basic example, using npm install it works, but using bower install, the view is empty. I've tried older versions, of ng-admin, but none of them renders anything.
0
votes
1 answer

ng-admin date picker filter is initialized with null/NaN values

I am configuring an admin panel with ng-admin + AngularJs, I tried to set a date filter: nga.field('created-at', 'date') .label('Created At') .format('yyyy-MM-dd') .defaultValue('2016-10-21') The problem arises when I click…
AFA Med
  • 241
  • 2
  • 11
0
votes
1 answer

Allow multiple choices in select widget of ng-admin

I am conceiving an admin panel for my rest backend. I used the AngularJS admin GUI called ng-admin. I would like to allow users choosing multiple choices and send them to my rest application. nga.field('languages', 'choice') .choices([ {…
AFA Med
  • 241
  • 2
  • 11
0
votes
1 answer

How do I hide "remove" buttons for embedded_list field in ng-admin?

I'm trying to figure out a way to NOT show the remove buttons for embedded lists in ng-admin. My goal is to show and edit these nested items in editionView, but you should not be able to remove any nested items. users.editionView() .title('Edit…
0
votes
1 answer

List view link contains special symbol

My listview URL appears like this: http://localhost/inventorymanagement/#/~2Finventory~2Frequest~2Fitem~2F/list How do I change it into a readbale form like this?: http://localhost/inventorymanagement/#/inventory/request/item/list Please have…
user4556641
0
votes
0 answers

Login with Api which return token in ng-admin

I have RestApi which has (Post Request with username and password)http://localhost:8000/authenticate and (This will check the token is valid or not)http://localhost:8000/authorize So i want to add this login in marmelab/ng-admin angular js…
0
votes
1 answer

ng-admin2: Setting the Title of a Page not Included in the Menu

I need to change the title of a page not included in the sidebar menu when using ng-admin2. Primarily, when dynamically editing an object and really anytime doing anything with dynamic routing.
jamesbar2
  • 614
  • 1
  • 9
  • 20
0
votes
2 answers

How can we change the Notification message when we click the save button in listview in ng-admin?

In the listview/creation view , I am trying to add the custom notification message instead of default notification (please refer screenshot) when the user clicks the save button. Can someone please let me know if there a way to add custom…
Vivek
  • 281
  • 2
  • 7
  • 21
0
votes
1 answer

Counter in entity description ng-admin

Do you know if it's possible to display the total of results in the description of an enity view in ng-admin ? Example : users.listView() .title('Users') .description('{{data.total}} Profiles') .fields([]) Thanks
user6618337
0
votes
2 answers

ng-admin how to connect remote server

I am green hand in ng-admin, and the question is: Is it possible to connect to the remote server to get data? such as. var admin = nga.application('QDNS Admin') .baseApiUrl('http://remote host/'); Many thanks in advance
0
votes
1 answer

How can I remove a specific field when reusing "creationView().fields()" in ng-admin?

I'd like to reuse couple of fields I've created in ng-admin, except one specific field. How can I manage to do that? This is the code I'm using: post.editionView() .title('Edit post "{{ entry.values.title }}"') // title() accepts a template…
Tommy
  • 126
  • 1
  • 6
0
votes
1 answer

Updating the model with file URL to be saved on submit

I have been able to successfully upload an image with a custom field template calling a function that handles the upload. It then gathers the return url and from there, i have no idea how to insert it back into the field for saving with the…
tutchmedia
  • 139
  • 2
  • 12