Hi,
    I have dropdown list. In that, i have function in the ng-change. But it 
run initially the page loading itself. I want some action while changing 
the values in the dropdown. Initially dropdown has some value. My code is 
like

<input id="leave_name" config="selectize_config" 
                                        options="selectize_options"
                                        ng-model-options="{ updateOn: 
'default blur', debounce: { 'default': 500} }" 
                                        
ng-change="changeStatus(value.status,value.id)" 
                                        ng-model="value.status" selectize />

It runs initially and it send query to the DB also. The same thing i have 
ng-change function in the datetime picker. But it is not running initially 
only change it will work.

<input id="time_punchin" name="time_punchin" ng-model="value.time_punchin"
                                        
ng-change="attendanceStartTime(value.time_punchin,value.id)"
                                        kendo-date-time-picker 
k-ng-model="time_punchin" k-options="dateTimePickerOptions">

Someone please help to solve this problem. It affects my performance very 
badly.

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to