Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
60 views

I have developed disable and enable functionality in angular. When I click on enable I get the data and it's working fine but when I click on disable I am getting the error "cannot read ...
himani sharma's user avatar
0 votes
3 answers
156 views

I´m trying to hide an option if the condition exists, but the option is still there. Here is my code: <li role="presentation"><a role="menuitem" tabindex="-1" ng-...
Rodri6uez's user avatar
  • 497
1 vote
1 answer
186 views

I wanna disable the button with the checkbox in nested angularjs ng-repeat. I mean to Disable button in the current array of ng-repeat. My code looks like the below example, angular.module('test', ...
Malik Zahid's user avatar
0 votes
1 answer
540 views

I have following directive defined. limsApp.directive('isPermissionValid', ['Service', function(Service) { return { restrict: 'A', scope: { isPermissionValid: '=' ...
chiranjiv's user avatar
0 votes
1 answer
610 views

I am building an app in which user have to addtocart using increment/decrement button. As value=0 i want decrement button to be disabled. I used ng-disabled as such: <div class="plus-minus"> ...
abhaya's user avatar
  • 31
1 vote
1 answer
328 views

I have ng-repeat on a div that contains a button. Say the div repeats 5 times with 5 buttons. I want to disable the 2nd button when it is clicked. How can I disable the button at that index? <div ...
Andy Nguyen's user avatar
0 votes
1 answer
68 views

I have a directive which basically binds a click event to the button, so after the button is clicked it runs (used a directive so i dont force others to change their ng-click expressions). Anyway the ...
Abdullah Imran's user avatar
1 vote
1 answer
282 views

Is is possible to disable a button in a form, when there is any error message in the form other than built in errors such as 'required', 'min-length', such as validating a condition?
Haripriya's user avatar
0 votes
1 answer
596 views

I'm displaying inputs basing on array like this <div data-ng-repeat="n in langInput.values"> <input type="text" id="auction_name_{{n.selected}}" class="form-...
BT101's user avatar
  • 3,876
0 votes
1 answer
804 views

I want to disable button using ng-disabled within ng-repeat. In this case I want to make like button for every items. I want to disable the button during http request until it return success result. ...
Tom Kur's user avatar
  • 2,440
0 votes
1 answer
198 views

I want to use a combination of my angular model and MVC model to disable an anchor tag (Model.Technician is a bool): <a href="#" title="" class="btn btn-default" ng-disabled="selectedTasksCount &...
M. Brandel's user avatar
0 votes
0 answers
255 views

I have the first group 3 buttons: line, spline and bar. The second group: single, double and triple. What I want to do it to make the second group buttons to be enabled or disabled depending on ...
Samurai Jack's user avatar
  • 3,155
-1 votes
1 answer
1k views

I'm working on an angularjs directive where a circle element needs to be disabled once it has been clicked on once. The ng-click event works as expected, but the ng-disable is not working. I can see ...
vale007's user avatar
  • 41
0 votes
1 answer
362 views

I have an issue with ng-disabled it works fine with chrome and firefox but the problem with IE 11 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"&...
phani indra's user avatar
-2 votes
2 answers
1k views

I have a button: <button ng-disabled="ctrl.myService.getData().someProperty ? '' : 'disabled'"> Click me! </button> When the application loads someProperty does not exist on ctrl....
bobbyrne01's user avatar
  • 6,833
1 vote
3 answers
1k views

I have an angular directive: angular.module("app").directive("myButtons", function () { return { restrict: "E", scope: { bdisabled: '=' }, templateUrl: ...
Sun's user avatar
  • 4,808
0 votes
1 answer
51 views

I'm trying to set the input text box of my app to disabled until a username is clicked from the right side. I've tried using ng-disabled on the input box, but can't set it to disabled until a link is ...
Matt's user avatar
  • 1,621
0 votes
2 answers
1k views

Below is the code for the ng-click, I want the click event only once and then disable the button. But, how to use ng-disabled for only button tag (without using input tag)? Suggestion would be ...
Pooja Thapa's user avatar
17 votes
4 answers
69k views

i have angularJS 1.5.0-rc.2 I found on the internet that i can use the directive data-ng-disabled="Expression" But it won't disable a button. What i tried : <button data-ng-disabled="false">...
Vincent Ducroquet's user avatar
5 votes
3 answers
16k views

I need to disable a md-select but I couln't find it in the Angular documentation. This is my code: <md-select ng-model="idSelectedMonth" placeholder="Month"> <md-option ng-repeat="...
Roby Sottini's user avatar
  • 2,305
2 votes
1 answer
2k views

I'm having a problem how to solve to implement buttons refresh (enable/disable) without using ng-disabled and ng-click I've send to my directive the following configuration (one or more buttons) ...
Andrej's user avatar
  • 848
0 votes
1 answer
2k views

I have a form and it includes an input file for uploading photos. What I want is to disable the button until input file has no value. I also have other validations that make the button disabled. My ...
bleyk's user avatar
  • 799
0 votes
1 answer
2k views

Hi I am adding Dynamically form fields like this <div ng-repeat="exam_student in exam_students"> <select ng-model="exam_student.student_id" options="students" ng-options="...
sanu's user avatar
  • 1,088
0 votes
0 answers
594 views

I have 2 buttons - Delete and Submit. Submit button is disabled initially. I am trying to enable Submit button whenever the user clicks on Disable button. I am using AngularJS 1.3.15 for this project. ...
user2607744's user avatar
0 votes
5 answers
308 views

I have this piece of HTML code <html> <head></head> <body> <div ng-init="controller.onInit()" style="divContainer"> <div class="divLoading" style="vertical-align:...
TropicalViking's user avatar