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([
{ value: '1', label: 'Choice 1' },
{ value: '2', label: 'Choice 2' },
{ value: '3', label: 'Choice 3' },
{ value: '4', label: 'Choice 4' },
])
The config code above does only allow one choice. I would like to keep the enhanced widget of ng-admin and not change it with the traditional checkboxes.