Title / Description
Code ... 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; } } ...
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code