530 questions
0
votes
1
answer
380
views
Checkbox to button ngmodel - which way to change my value
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="...
1
vote
0
answers
121
views
Editing form with value = " " to update JSON file ng-model not working
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)
<...
1
vote
1
answer
733
views
Radio button value not updating after angularjs update to 1.8
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 ...
0
votes
0
answers
107
views
How to use ng-options and ng-model in an AngularJS custom directive
I'm trying to encapsulate some dropdown list from html code, here is my html code
<custom-dropdown function="foo" data="{{application}}" target="toBeUsedLater"> ...
0
votes
0
answers
59
views
Why is my ng-model updating only once with daterangetimepicker but everytime if i change the input manually in angularjs?
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 ...
0
votes
1
answer
102
views
Why is my Angular ng-model composite value not updating?
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 ...
0
votes
1
answer
86
views
AngularJs: model object gets converted to an array
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: ...
0
votes
0
answers
44
views
module 'myApp' is not available AngularJS tutorial
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&...
0
votes
1
answer
666
views
How to disable other options and append values in multiple dropdown with same values in angular js?
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 ...
0
votes
1
answer
380
views
ng-model not updating the value in jsp page
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 ...
2
votes
1
answer
471
views
How to [(ngModel)] bind default [selected] <option> 's value in <select> IF user didn't select any option for a <select> in multi filter search bar
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 ...
0
votes
1
answer
95
views
ng-model is not working inside ng-view with global controller
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="...
0
votes
1
answer
87
views
Radio button's data-ng-model/data-ng-change not working with data-ng-repeat
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 ...
0
votes
1
answer
567
views
Select inside ng-repeat with ng-options and ng-model
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 ...
1
vote
2
answers
93
views
Unable to get input field `value` assigned using javascript
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=...