In my application, I have select html that has the following options: Add, Delete, Duplicate, Duplicate Member
The drop-down page is common to the add and edit screen. At the moment, if we start from any addition, click or edit the drop-down list of clicks. (Note: drop-down bindings during loading of the page itself. We will show / hide depending on the click)
In accordance with the new requirement, I need to delete all other parameters, except "Add", in addition, click and remove the "Add-on" option when editing.
select html:
<select name="ReasonID" required ng-model="member.ReasonID" class="form-control" ng-options="reason.ID as reason.Description for reason in reasons |orderBy: reason.Description"></select>
Js
$scope.manageMember = function (member) { $scope.showGrid = false; $scope.showForm = true; reset(); $scope.memberTemp = member; angular.extend($scope.member, member); };
Please let me know if you need more details from my end.
source share