All Questions
Tagged with angularjs-ng-click angularjs-ng-change
10
questions
1
vote
1answer
537 views
AngularJS: ng-change does not work when value changes on ng-click
I have created some control buttons to handle server side pagination. It has 4 buttons (First Page, Previous Page, Next Page and Last Page), a page counter which is an input text field and a drop-down ...
0
votes
1answer
148 views
Ng-click and ng-change aren't being fired when using component and template angular 1.6
I am trying to fire a function when something is typed into the input. For some reason, it is not working when I use a template and component. Can anyone help me figure out why this is happening? I am ...
0
votes
2answers
784 views
Ignore ng-click when opening dropdown
I have a list with options, which I loop into a select with ng-options. Then I would like to call a function, when I click on one of the options. I tried it first with ng-change, but the problem I had ...
0
votes
1answer
484 views
angularjs calling outer controller from nested ng controllers with ng-change
I'm trying to use angularjs to create a page that does the following:
Is initially empty, save for a dropdownlist that is automatically
populated with apps.
upon selecting one of those apps, data ...
3
votes
1answer
768 views
TR element triggers checkbox via ng-click, but ng-change on checkbox will not fire
I have successfully created functionality to check a hidden checkbox on the ng-click of the row that the checkbox exists in that is generated with an ng-repeat. However, I also have functionality that ...
2
votes
0answers
876 views
Angularjs, select id from dropdown and send it with callback function
I have a form wizard which is has some dropdowns the user needs to select before submiting.
The user should select from the dropdown and the id should send to the server.
HTML
<...
1
vote
4answers
7k views
Angular ng-change or ng-click for select can't work
It's a sample about ng-change with checkbox.
plunker
I'd like to make the checkbox into a selection but failed.
Here's the code:
<select>
<option ng-model="confirmed" ng-change="change()"...
0
votes
4answers
2k views
How do I reverse a checkbox state to make it unchecked (AngularJS)?
I basically want that when the user clicks on a checkbox, their decision is immediately reversed and the checkbox is unchecked. The code below is not working. I tried other variations like value = !...
0
votes
2answers
1k views
ng-change not firing but ng-click does in ng-repeat
I have a couple of arrays and am looping through them to build a table. The first header row is an array of column names and the second a row of select boxes that the user will use to select to map to ...
1
vote
1answer
1k views
ng-click child checkbox of Parent div
How do you make a parent div click propagate to its child checkbox in AngularJS? The Checkbox will have the hidden attribute, so we need to allow the parent div be the clickable entity.
HTML:
<...