Github user ilgrosso commented on a diff in the pull request: https://github.com/apache/syncope/pull/17#discussion_r63165080 --- Diff: client/enduser/src/main/resources/META-INF/resources/app/js/directives/dynamicPlainAttribute.js --- @@ -168,12 +171,27 @@ angular.module('self') } } - }; + }; + + //TIME PICKER + $scope.selectedTime = $scope.selectedDate; + $scope.hstep = 1; + $scope.mstep = 1; + + $scope.options = { + hstep: [1, 2, 3], + mstep: [1, 5, 10, 15, 25, 30] + }; + + $scope.ismeridian = true; + $scope.toggleMode = function () { + $scope.ismeridian = !$scope.ismeridian; + }; break; case "Boolean": $scope.user.plainAttrs[schema.key].values[index] = - $scope.user.plainAttrs[schema.key].values[index] == "true" ? true : false; + $scope.user.plainAttrs[schema.key].values[index] == "true" ? true : false; --- End diff -- Is this really needed this way? Can't you change it to (at least): ```javascript $scope.user.plainAttrs[schema.key].values[index] = $scope.user.plainAttrs[schema.key].values[index] == "true"; ```
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---