dsqdsqdqs
Javascript
code posted
created at 04 Aug 17:30
Edit
|
Back
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
... if (fieldG.type == 'multiselect') { // MODE CONSULTATION fieldG.type = 'table-view'; // Mode édition => remplacement par template customisé var labelProp = angular.copy(fieldG.templateOptions.labelProp); var entityvalue = angular.copy(fieldG.templateOptions.entity); if (angular.isUndefined(entity[fieldG.key])) { delete fields[index]; } else { var selected = ''; delete fieldG.fieldGroup; fieldG.templateOptions.options = entity[fieldG.key].data; } } ... |
563 Bytes in 3 ms with coderay