Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
308 views

I'd like to edit my checkbox so I get a or an input with type=button instead. I have for now, properly working : <label>Afficher</label> <input type="checkbox" ng-model="...
user9417455's user avatar
1 vote
0 answers
118 views

I want to edit fields before updating them to my JSON file. The following shows the details in the text/number fields (not the dates or select fields) (this is my test run to see if it'll work) <...
Andiie's user avatar
  • 25
1 vote
1 answer
730 views

After AngularJS update to 1.8, once I click and call DayTypechange(2) method, the radio button value does not update. Here is my html: <div class="btn-group btn-group-sm col-xs-11 col-md-10 ...
Chamara Silva's user avatar
0 votes
0 answers
106 views

I'm trying to encapsulate some dropdown list from html code, here is my html code <custom-dropdown function="foo" data="{{application}}" target="toBeUsedLater"> ...
Francis.Tricka's user avatar
0 votes
0 answers
59 views

I got a problem i'm currently trying to use daterangetimepicker from http://www.daterangepicker.com/ to select date for stuff. Problem is that when i select a date using it my ng-model is updated only ...
LeNicow's user avatar
  • 11
0 votes
1 answer
102 views

I haven't used JavaScript in six years, so I'm brushing up on it and learning Angular at the same time via W3Schools. This means I'm likely doing multiple things wrong here, so bear with me. In my ...
Markham Asylum's user avatar
0 votes
1 answer
45 views

I am seeing a weird issue and spending unfruitful time. In my controller I have an object declared as $scope.brfdet = { iJobId: $scope.job.iJobId, iAppType: null, dEarlyShipmentDate: null, dStockdate: ...
Kangkan's user avatar
  • 15.6k
0 votes
0 answers
44 views

I went through all similiar questions, and I didn't find any solution. My code: test.php <html xmlns:ng="http://angularjs.org/"> <head> <script type="text/javascript&...
TomTom's user avatar
  • 49
0 votes
1 answer
661 views

I need 3 dropdown list with same values. 1st dropdown is mandatory to select. The rest 2 is optional all 3 dropdown lists has same options. If user selects a certain option in dropdown 1, it will be ...
user6345655's user avatar
0 votes
1 answer
380 views

I am trying to calculate the values : amountBeforeTax taxAmount and amount but my input named : amountBeforeTax is not updating value to $scope.amountBeforeTax in the controller. Versions : Angular ...
Mudit Agrawal's user avatar
2 votes
1 answer
470 views

the issue is that it is not necessary for all input fields or select tags to be used at the same time to filter, so sometimes users can leave one or several filters without selecting or placing an ...
IGAB's user avatar
  • 21
0 votes
1 answer
89 views

It seems very simple but i could not fix it, my controller can not read ng-model related to input box inside ng-view. here are my codes main.html <html ng-app="myapp" ng-controller="...
Sina Nouri's user avatar
0 votes
1 answer
72 views

A] When not used with data-ng-repeat, the radio button's data-ng-change works properly. Upon changing the radio selected, the function, updatedLanguageTrigger(languageSelected) is called, and the ...
Kulkarni's user avatar
0 votes
1 answer
542 views

Good Morning, Hope everyone had a great Easter, Before I begin, I want to point out this is being developed in ServiceNow Orlando release, it uses AngularJS 1.6.10 I'm stuck on a tricky piece of ...
Bored Panda's user avatar
1 vote
2 answers
92 views

I am using Laravel with Angular JS for forms. I got a text box in the form as below <input type="text" name="removedSiblings" ng-model="form.removedSiblings" id="div_removedSiblings" class=...
Malaiselvan's user avatar
  • 1,131
0 votes
1 answer
469 views

Below is an image of my code's output; I know how to display data passed down from parent components (i.e., 100), but I don't know how to display the parental data via ng-model (i.e., 100 isn't ...
Cascara's user avatar
  • 103
-1 votes
1 answer
451 views

I've got a set of radio buttons in a ng-repeat, following what I found in this answer. I just can't figure out how to add an ng-model to it. <tr ng-repeat="service in selectservice.services ...
Steve's user avatar
  • 15k
-1 votes
1 answer
209 views

i want it to be solved in only angular-js. <head> @Scripts.Render("~/bundles/AddEmployee") </head> <body ng-app="TruModule"> <div ng-controller="...
Joshi2dec's user avatar
1 vote
1 answer
855 views

I am having an issue where ng-model-options isn't reflecting the changes I need it to. For example, in the snippet below if you enter 4:00 pm into both time inputs you'll see the UTC output is ...
Shnick's user avatar
  • 1,431
1 vote
1 answer
2k views

Currently I have two date inputs. I am trying to make the second date input default to the first date input. The user can then change the second date input to be a different value (leaving the first ...
Shnick's user avatar
  • 1,431
0 votes
0 answers
526 views

I am currently using a <datalist> for easy lookup. Each <option> in my datalist has a data-sysid attribute which acts as the actual value I need. Currently, I am using ng-model to set the ...
Shnick's user avatar
  • 1,431
-2 votes
2 answers
1k views

Scenario I have scenario where I will parse the document then I will get as a JSON output in key and value format, In key it will contains headings of document and Value will contains corresponding ...
Sathish Kasinathan's user avatar
2 votes
1 answer
118 views

I have textarea with ng-model 'wordset' and ng-change="onChange()" <div> <textarea ng-model="wordset" ng-change="onChange()" class="form-control app-word-set" ...
Bogdan Tsareyvich's user avatar
1 vote
1 answer
50 views

I have a simple code that list many colors and check if some has been chosen previamente by user(this is setted on code but in really its come from the database). When i submit the form, the pre-...
Jefter Rocha's user avatar
0 votes
1 answer
193 views

I have a select menu with using ng-model and a list of values like so: <select ng-model="$ctrl.ngModel" id = "{{$ctrl.idPrefix}}-select" ng-change="$ctrl.change()"> <option ng-...
Joe's user avatar
  • 43
0 votes
2 answers
62 views

I've got a weird behaviour with my checkboxes : I want to have 9 checkboxes : one for "week", one for "weekend" and 7 for all week days. When I click on "week" I want to set selected monday until ...
D.Aladel's user avatar
1 vote
2 answers
1k views

I read topics related to this and found following, but still I am stuck. How to $watch changes on models created by ng-repeat? I am trying to implement plus, minus counter with following code. Now ...
subha's user avatar
  • 1,070
0 votes
0 answers
63 views

No matter what I select, this function only returns the first item of the list. As requested, I have included the complete JS code. I have looked through this code four hours and everything seems ...
Nicolas Dos Santos's user avatar
0 votes
1 answer
836 views

I'm dynamically creating textboxes and save button for each Item and on click of save button I need to fetch value from the text box of that particular item. for (let d = 0; d <= ItemsInfo.length ...
user11130182's user avatar
-1 votes
1 answer
170 views

I have a independent modal in a separate file and it's controller in a separate file and the modal is being included in index.html using data-ng-include. But the $scope variable inside the modal ...
Praveen Kumar's user avatar
0 votes
1 answer
29 views

In Angularjs values are cleared only for UI components like (input, textarea, button) when I use ng-model to bind them. In the Master page (asp.net), we use two <div> elements, we dynamically ...
Pandiarajan's user avatar
0 votes
0 answers
46 views

When i am changing my option value of select it's ng-model value is not being changed. Is this happening because of value is being changed by Jquery? Because i read a line about angularjs from ...
Utm sandeep's user avatar
0 votes
2 answers
237 views

I create a list of radio button selections, but the problem is that when clicked, they both remain selected, thus not working as a radio button group at all. I have the same ng-model (a string; '...
Lars Andren's user avatar
  • 8,781
0 votes
2 answers
554 views

I am using Angular 1.6 I have a a text input which is connected to a datalist. The datalist options are populated through ng-repeat. The value is an "id" but what is displayed is a "name". The text ...
4lackof's user avatar
  • 1,400
0 votes
1 answer
452 views

I have tried set ng-init and give the initial value of ng-model, all failed $scope.newSubItem = function (scope) { var modal = $uibModal.open({ backdrop: 'static', templateUrl: '...
Kerouac Jack's user avatar
1 vote
1 answer
800 views

I am trying to allow the customer to edit a list of items by using ngRepeat and ngModel. But i am not able to set response to the input fields Here is the code. <form name="customerupdateForm" ng-...
Devidas's user avatar
  • 181
0 votes
2 answers
47 views

I have the following table: Lot Table View I am using three ng-repeat to show the following response. Response from backend overview Detailed response from backend The first ng-repeat is in <tbody&...
Abhiruchi Maurya's user avatar
2 votes
0 answers
69 views

I'm working on an AngularJS 1.7 project which requires karma-jasmine testing. I had no problems so far until I tested a component with an ng-model assigned by the controller. I read that ng-model ...
Eduardo F.C.P.'s user avatar
0 votes
1 answer
217 views

Ng-change is acting weird in a directive. It seems to have a delay in the digest cycle resulting in the wrong (previous) ngModel value in controller immediately after the change. ngModel : '=' https:...
What Ever's user avatar
1 vote
1 answer
2k views

Can anyone explain to me why when I print console.log($scope.inputvalue) the variable is not updated with the values that I enter in the input? Maybe I just misunderstood the meaning of ng-model, in ...
Furin's user avatar
  • 592
0 votes
2 answers
246 views

I have a table that is filled with <input> fields in every <td>, that are repeating in ng-repeat. In some cases some of the inputs may came with null value. I want to access the ng-model ...
Endri Liçkollari's user avatar
1 vote
1 answer
1k views

I am trying to print Float value on the input field using ng-model. But it's not displaying. If I use value instead of ng-model then it's getting displayed. Here's my code: <input id="cost" name="...
Umang's user avatar
  • 51
0 votes
1 answer
521 views

This should be a very common problem, invoking an ng-model to parse the data into form (DOM) after which the modified checkbox's ng-checked will be translated back to data values so to be saved back ...
Jenna Leaf's user avatar
  • 2,510
3 votes
1 answer
4k views

I have two shared Moduled 'shared-candidate-login-reg.module.ts' and 'shared.module.ts', I am importing both the shared modules in my home page. I want to use 'AlertLblComponent' from my 'shared....
amit gupta's user avatar
  • 1,350
0 votes
1 answer
230 views

I'm having an issue with my models when attempting to sync similar functionality using a select with ng-options and a radio using ng-repeat. The models and details are all the same, but they're not ...
Joseph Sjoblom's user avatar
0 votes
1 answer
1k views

I have a form that I want to add a multiple select input, but I want the select input to be populated with an existing JSON object and allow me to select one of those objects and add it into the ...
GuyWithGlasses's user avatar
1 vote
3 answers
248 views

I have form with a few fields, but all fields are present in form object and field with name sector is not present. Why? And how I should fix it? <form name="candidateForm" ng-submit="submitForm()"...
Дмитрий Попов's user avatar
1 vote
1 answer
49 views

I'm loading data from a database and save it to an array as follows: $scope.allGroups = [{id: 1, groupName: group1}, {id: 2, groupName: group2}, ..] In my view, I'm trying to select multiple group ...
sd_dewasurendra's user avatar
0 votes
2 answers
159 views

Binding variable name having in another avriable at one level is working , but not working with multilevel object. below is example. var app = angular.module('app', []); app.controller("...
User_MVC's user avatar
  • 261
0 votes
4 answers
440 views

I'm using AngularJS and I'm displaying a list with ng-repeat. What I'm trying to achieve is to filter the list and only show the items that contain the value that the user writes in the input. I set ...
iSpithash's user avatar

1
2 3 4 5
11